Posts

Good lesson for life

Image
Hi readers, I got this from a email.. I learned smthing from it and like if read and do the same.. There was a man who had four sons. He wanted his sons to learn not to judge  things too quickly. So he sent them each on a quest, in turn, to go and look at a pear tree that was a great distance away.  The first son went in the winter, the second in the spring, the third in summer, and the youngest son in the fall.  When they had all gone and come back, he called them together to describe what they had seen  The first son said that the tree was ugly, bent, and twisted. The second son said no it was covered with green buds and full of  promise.  The third son disagreed; he said it was laden with blossoms that smelled so sweet and looked so beautiful, it was the most graceful thing he had ever seen.  The last son disagreed with all of them; he said it was ripe and drooping with fruit, full of life and fulfillment.  The man then explained to his sons that they were all right, because the...

Birthday wishes

Image
For this year birthday I got hundreds of FB wishes , Emails , sms and calls! Thank you all for all wishes.. thought to share three of them with my blog readers... H a p p y b i r t h d a y b r o t h e r My dearest brother Today is your birthday Knowing that you will be turning another year old May you enjoy this blissful day And many happiness that will come your way Because today is your birthday B right R emarkable O utstanding T errific H elpful E xceptional R eliable *******Who has everything******* HAPPY BIRTHDAY GAYAN AYIA. ******Wishes from Amali Nangi******

Log4j in Weblogic - ClassNotFoundException

Helo my friends/readers I need a hint to solve problem developed in JDeveloper 11g/ WebLogic Server 10.3.0.0. Application - Struts, JSP , Java) But when I install and start the web application using weblogic console it gives an error, java.lang.ClassNotFoundException: org.apache.log4j.Category My libries in WEB-INF/lib as follows, antlr.jar commons-beanutils.jar commons-digester.jar commons-fileupload-1.0.jar commons-validator.jar dom4j-1.6.1.jar dwr.jar jakarta-oro.jar struts.jar log4j-1.2.15.jar Do you have any idea? i post in Javaranch forum, not cleared yet. Thank you very much for any hint. Update 1: Created a new file call "weblogic.xml" in WEB-INF <?xml version="1.0" encoding="ISO-8859-1"?> <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"> <container-de...

Disable single quote Within Forms

This is a good method taught to me by my friend to disable any character in the keyboard Within Forms in your web page/ web application. A simple and effective method to disable specific characters (like single quotes) within form inputs on your webpage or web application. The Code <!DOCTYPE html> <html> <head> <script type="text/javascript"> function stopRKey(evt) { // Normalize the event object evt = evt || window.event; // For debugging - shows the keyCode console.log(evt.keyCode); // Block single quote (39 or 222 depending on browser) if (evt.keyCode == 39 || evt.keyCode == 222) { return false; } } // Attach the event handler to the document document.onkeypress = stopRKey; </script> </head> <body> <h3>Test Area</h3> <textarea rows="5"></text...

Firstday at MSc

Oh studies again..! My Msc program just started in UCSC. It was really nice seat in UCSC lecturing hall listing to a lecture after one and half years time.. But one thing i would like to share with you that was pointed out by VC of UOC at her welcome speech, "You are not STUDENT anymore, you are CANDIDATE of a Masters program. Don’t wait till lectures give you lessons, grab the knowledge you want". Nice thing was as usually I felt same sleepiness in the first lecture i attended, however at same time I felt that there is more understanding about practical aspects of lessons than i was an undergraduate. ;)

All Google is down all around the world on 10 December 2009

Image
Several users are complaining on Twitter that Google,Blogger, Gmail and other services owned by Google are down. Google country search sites like www.google.lk and google.co.uk are down too. I don’t know what affected Google, but whatever it is it must be massive i hope, Google search become available soon..early as I can’t live without google

Windows WorkFlow foundation

Hey got a new project for develop "Work Flow" using SharePoint! So i started learning about "SharePoint developmet".. OOB(Out Of Box), SPD(SharePoint Designer) and WFF(Work Flow Foundation) hmmm look tough? What is "Widows WorkFlow foundation" ? Hey you idiot, dont you understand that i should have basic knowledge of.NET framework, Some C#/.NET coding practice and knowledge about Visual Studio to do this? So i paused learning SharePoint and start .NET studies... Help me guys....