Recent Articles
destroy() gets executed and the initialization process continues. It is a trick question in servlets interview. In java servlet, destroy() i ...
May 27th, 2008
The root cause of IllegalStateException exception is a java servlet is attempting to write to the output stream (response) after the respons ...
May 19th, 2008
Servlet mapping specifies the web container of which java servlet should be invoked for a url given by client. It maps url patterns to servl ...
May 14th, 2008
In the java servlet life cycle, the first phase is called ‘Creation and intialization’. The java servlet container first creates ...
May 14th, 2008
ServletRequest and ServletResponse are two interfaces that serve as the backbone of servlet technology implementation. They belong to the ja ...
May 6th, 2008
Technically you can define constructors in servlet. But, the declared constructor cannot access the ServletConfig object or throw a ServletE ...
May 6th, 2008
The interface javax.servlet.Servlet defines the following three methods known as servlet life cycle methods. public void init(ServletConfig ...
May 5th, 2008