public class GoogleStoreServlet extends GenericServlet
Constructor and Description |
---|
GoogleStoreServlet() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initialize the servlet.
|
void |
service(ServletRequest request,
ServletResponse response)
Service a request.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
public void init()
GenericServlet
init
in class GenericServlet
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException