class ServletSample extends HttpServlet
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ServletSample() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init(ServletConfig config) |
void |
service(HttpServletRequest req,
HttpServletResponse res) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
private static final long serialVersionUID
ServletSample()
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void service(HttpServletRequest req, HttpServletResponse res) throws IOException
service
in class HttpServlet
IOException