|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.dpml.test.http.DispatchServlet
Test Servlet RequestDispatcher.
| Constructor Summary | |
DispatchServlet()
|
|
| Method Summary | |
void |
destroy()
Destroy the servlet. |
void |
doGet(HttpServletRequest sreq,
HttpServletResponse sres)
Process a get request. |
void |
doPost(HttpServletRequest sreq,
HttpServletResponse sres)
Process a post request. |
String |
getServletInfo()
Return thr servlet info. |
void |
init(ServletConfig config)
Servlet initialization. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DispatchServlet()
| Method Detail |
public void init(ServletConfig config)
throws ServletException
config - the servlet config
ServletException - in an initialization error occurs
public void doPost(HttpServletRequest sreq,
HttpServletResponse sres)
throws ServletException,
IOException
sreq - the servlet http requestsres - the servlet http response
ServletException - in a processing error occurs
IOException - in an I/O error occurs
public void doGet(HttpServletRequest sreq,
HttpServletResponse sres)
throws ServletException,
IOException
sreq - the servlet http requestsres - the servlet http response
ServletException - in a processing error occurs
IOException - in an I/O error occurspublic String getServletInfo()
public void destroy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||