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, service
public void init()
init
in class javax.servlet.GenericServlet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.