Why ActionServlet is Singleton in struts framework? »
By Ramakrishna on Apr 7, 2011 in Struts Interview Questions | 0 Comments
actionservlet class ,struts framework,web.xml
Java Interview Questions | Core Java Interview Questions | Advanced Java Interview Questions | EJB Interview Questions | J2EE Interview Questions | Hibernate Interview Questions
By Ramakrishna on Apr 7, 2011 in Struts Interview Questions | 0 Comments
actionservlet class ,struts framework,web.xml
By Ramakrishna on Aug 17, 2010 in Java Interview Questions | 1 Comment
Hashtable Hashtable is basically a datastructure to retain values of key-value pair. It didn’t allow null for both key and value. You will get NullPointerException if you add null value. It is synchronized. So it come with its cost. Only one thread can access in one time Hashtable<Interger,String>; cityTable=new Hashtable<Interger,String>(); cityTable.put(1,”Lahore”); cityTable.put(2,”Karachi”); cityTable.put(3,null); // NullPointerException [...]
By Ramakrishna on Jul 30, 2010 in Jdbc questions, jdbc questions, Stored Procedures | 0 Comments
you are reading my article because you want to learn how to write stored procedures. You are new to this, and you don’t know where to start. You are exactly where I was when I wanted to learn how to write stored procedures. The purpose of this article is to help the developer who doesn’t [...]
By Ramakrishna on Jul 21, 2010 in Java Serialization | 1 Comment
So far, we’ve focused on the mechanics of serializing an object. We’ve assumed we have a serializable object and discussed, from the point of view of client code, how to serialize it. The next step is discussing how to make a class serializable. Serialization is also called as Marker Interface There are four basic things [...]