Category Archives: Uncategorized

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

java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group

I had written an application in NetBeans and made a jar out of it. When I transferred that jar to my office computer and tried executing it there, I got the following exception. Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group at … Continue reading

Posted in Uncategorized | Leave a comment

MD5 encryption and decryption

Today a friend needed to decrypt a password which was encrypted using md5 algorithm. So I got an anxiety to study more about it. Here is some information that I have gathered about it MD5 is a secure hash algorithm. … Continue reading

Posted in Uncategorized | 1 Comment

Error instantiating servlet ‘action’.

Error instantiating servlet ‘action’. Servlet class org.apache.struts.action.ActionServlet not found The error might mislead you to think that it is not able to find struts.jar and you might start struggling on finding why it is not able to find struts.jar. If … Continue reading

Posted in Uncategorized | 2 Comments

How to disable enable user input in queries

Many times it might have been required to insert & symbol in the value of a column in SQL. How do you guys pass that. There might be more than one ways to do that Here is one of them. … Continue reading

Posted in Uncategorized | Leave a comment

Problem in session Handling

Many of you might have faced this problem earlier as well. But this is a very new and recent learning which I have gained during my work at Nucleus Software. Many times I have seen, that where i expect the web-application … Continue reading

Posted in Uncategorized | Leave a comment

Tips in Working with Firebug

Many thanks to http://www.ajaxwith.com/Tips-in-Working-with-Firebug.html for sharing the knowledge with us. Tips in Working with Firebug Firebug is considered one of the essential tools for every developer whether they are working with JavaScript or not. It’s a simple add-on for Firefox … Continue reading

Posted in Uncategorized | 1 Comment