service
public void service(ServletRequest request,
ServletResponse response)
throws java.io.IOException,
ServletException
Description copied from interface: Servlet
Service a request. Since the servlet engine is multithreaded,
many threads may execute service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.
- Parameters:
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
- Throws:
java.io.IOException
ServletException