Recent Articles
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
javax.servlet.GenericServlet Signature: public abstract class GenericServlet extends java.lang.Object implements Servlet, ServletConfig, jav ...
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
Signature: public interface ServletConfig ServletConfig is implemented by the servlet container to initialize a single servlet using init(). ...
May 6th, 2008
request.getRequestDispatcher(“url”) means the dispatch is relative to the current HTTP request. Example code: RequestDispatcher ...
May 6th, 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
A filter is used to dynamically intercept request and response objects and change or use the data present in them. Filters should be configu ...
April 19th, 2008