ONJava.com -- How Servlet Containers Work
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Saved by 3 people (1 private), first by anonymouse user on 2006-08-24
- Kenyth on 2008-04-25 - Tags how-something-work , servlet-container , java , http , socket , tomcat , servlet
- Ajinkya on 2007-12-16 - Tags no_tag
- Tacitdynamite on 2006-08-24 - Tags documentation , java
Public Sticky notes
The Servlet interface has five methods, whose signatures are as
follows:
public void init(ServletConfig config) throws ServletExceptionpublic void service(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOExceptionpublic void destroy()public ServletConfig getServletConfig()public java.lang.String getServletInfo()
Highlighted by ajinkya
This method is called only after all threads within the servlet's
service method have exited or after a timeout period has passed
Highlighted by kenyth
init method (once only).javax.servlet.ServletRequest and an instance of
javax.servlet.ServletResponse.service method, passing the
ServletRequest and ServletResponse objects.destroy method and unload the servlet class.Highlighted by kenyth


Public Comment