java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
mypackage.Hello
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public final class Hello
- extends javax.servlet.http.HttpServlet
Simple servlet to validate that the Hello, World example can
execute servlets. In the web application deployment descriptor,
this servlet must be mapped to correspond to the link in the
"index.html" file.
| Fields inherited from class javax.servlet.http.HttpServlet |
|
|
Constructor Summary |
Hello()
|
| 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 |
Hello
public Hello()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Respond to a GET request for the content produced by
this servlet.