| java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet test.HelloServlet
HelloServlet | public class HelloServlet extends HttpServlet (Code) | | Bean-style initialization servlet. The greeting parameter is configured
in the <init> section of the <servlet>. The setXXX
methods are called before the init() method.
<servlet servlet-name='hello'
servlet-class='test.HelloServlet'>
<init>
<greeting>Hello, world</greeting>
</init>
</servlet>
|
getGreeting | public String getGreeting()(Code) | | Returns the greeting.
|
setGreeting | public void setGreeting(String greeting)(Code) | | Sets the greeting.
|
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|