- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
@WebServlet(description="Says hello to the world",
urlPatterns="/demo/servlet/HelloWorldServlet")
public class HelloWorldServlet
extends AbstractHttpServlet
Hello World application implemented as a servlet.
All you need to create a servlet is the @WebServlet annotation on the HelloWorldServlet plus an implementation of the
HttpServlet's
doGet method.
Josef aids in creating Servlets by providing a generic super class name AbstractHttpServlet.
- See Also:
- Serialized Form