Latest Answer : You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive within your JSP page. With this, instead of a single instance of the servlet generated ...
Latest Answer : Serialization is the process of converting an object into a sequence of bits
so that it can be stored on a storage medium (such as a file, or a memory
buffer) or transmitted across a network connection link. When the resulting
series of bits is ...
If we can access a sevlet through both GET and POST methods then which methods will u declare in the servlet class?
Latest Answer : Serialization is the process of saving the state of the object by convering it to the byteStream.To do Serialization,we have to implement serializable interface or externalizable interface. ...
Latest Answer : Yield - this method allows one thread to give away the processor to the next thread in the ready queue.suspend - was used to stop thread execution, however this method is depricated in the current API.resume - resumes the suspended thread. this is aslo ...
Latest Answer : Yes, Constructors / overloaded methods can throw exceptions. ...