Class HelloWorldServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.symphonyoss.s2.fugue.ServletComponent
-
- org.symphonyoss.s2.fugue.example.hello.HelloWorldServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,org.symphonyoss.s2.fugue.http.IUrlPathServlet
public class HelloWorldServlet extends org.symphonyoss.s2.fugue.ServletComponentA simple servlter which says "Hello World".- Author:
- Bruce Skingle
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HelloWorldServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)StringgetUrlPath()-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Method Detail
-
getUrlPath
public String getUrlPath()
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
-