org.apache.geronimo.samples.daytrader.web.prims
Class PingServlet2Jsp
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.geronimo.samples.daytrader.web.prims.PingServlet2Jsp
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class PingServlet2Jsp
- extends HttpServlet
PingServlet2JSP tests a call from a servlet to a JavaServer Page providing server-side dynamic
HTML through JSP scripting.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PingServlet2Jsp
public PingServlet2Jsp()
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- forwards post requests to the doGet method
Creation date: (11/6/2000 10:52:39 AM)
- Overrides:
doPost
in class HttpServlet
- Parameters:
res
- javax.servlet.http.HttpServletRequestres2
- javax.servlet.http.HttpServletResponse
- Throws:
ServletException
IOException
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- this is the main method of the servlet that will service all get requests.
- Overrides:
doGet
in class HttpServlet
- Parameters:
request
- HttpServletRequestresponce
- HttpServletResponce
- Throws:
ServletException
IOException
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.