Category Archives: Uncategorized

Javascript : How do I open a new browser window?

Source : http://www.javascripter.net/faq/openinga.htmQuestion: How do I open a new browser window? Answer: To open a new browser window, use the window.open() method. For example, the following code opens this page in a new window. myRef = window.open(”+self.location,’mywin’, ‘left=20,top=20,width=500,height=500,toolbar=1,resizable=0’); The general … Continue reading

Posted in Uncategorized | Leave a comment

JS Beautifier

I wish someone could format the unformatted javascript code Here it comes true… http://jsbeautifier.org Check this out….Its Free and Amazing… Another very useful site for javascript is http://jsbin.com

Posted in Uncategorized | Leave a comment

How to disable touchpad in Lenovo Z560 touchpad

How to disable touchpad in lenovo ideapad Z560? I know this post is not related to Java/J2ee, but I wanted to note down this solution somewhere. So storing it here. Actually, the shortcut key for disabling touchpad (Fn+F6) is not … Continue reading

Posted in Uncategorized | Leave a comment

What is the difference between target=_new and target=_blank in HTML Code?

What is the difference between target=_new and target=_blank in HTML Code? What is the difference between target=_new and target=_blank in HTML Code?

Posted in Uncategorized | Leave a comment

How to find nth highest salary from a table?

Code EMPNO ENAME SAL 1         A         5000 2         B         2000 3         C         10000   SELECT MIN(SAL) FROM (SELECT * FROM EMP ORDER BY SAL DESC) WHERE ROWNUM <=2 Same as nth highest query we … Continue reading

Posted in Uncategorized | Leave a comment

Failed to create Java virtual machine

Source : http://www.techlabs4u.com/2011/08/solution-eclipse-failed-to-create-java.html When you runt the eclipse (latest version eclipse-jee-indigo win32) , you may get the error “failed to create java virtual machine” . This error can be solved by many ways. Assume that the eclipse is installed at … Continue reading

Posted in Uncategorized | Leave a comment

How to read a properties file in a web application

Source : http://jaitechwriteups.blogspot.com/2007/01/how-to-read-properties-file-in-web.html How to read a properties file in a web application The code to do this is pretty simple. But going by the number of people who keep asking this question, i thought i would post the code … Continue reading

Posted in Uncategorized | 1 Comment