public class Sample4
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
Sample4()
Default constructor for this sample servlet
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handles the GET request.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handles the POST request.
|
void |
init()
Initializes the servlet - we need to make sure the reporting engine has been initialized
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init()
init in class javax.servlet.GenericServletprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2018 Hitachi Vantara. All rights reserved.