service
public void service(ServletRequest request,
ServletResponse response)
throws ServletException,
java.io.IOException
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:
ServletException
java.io.IOException