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 storing the state of an object into IO Stream, it is a Marker interface and it will not have any methods in it. ...
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. ...