Class PathServlet

All Implemented Interfaces:
Servlet, ServletConfig, Serializable

public abstract class PathServlet extends HttpServlet
A convenient base class for servlets that use path info (must be path mapped; extension mapped servlets (like *.mp) do not have any path info associated with them.

If the request has a non-null non-empty path, then that path is sent to the doPathInfo method, which a subclass should implement. A request with an empty or null path info results in sending a 404 error back to the client.

See Also: