org.mortbay.servlet
Class Forward
- java.io.Serializable, Servlet, ServletConfig
Forward Servlet Request.
This servlet can be configured with init parameters to use
a RequestDispatcher to forward requests.
The servlet path of a request is used to look for a initparameter
of that name. If a parameter is found, it's value is used to get a
RequestDispatcher.
$Id: Forward.java,v 1.9 2005/08/13 00:01:28 gregwilkins Exp $
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log, service |
getServletInfo
public String getServletInfo()
Returns information about the servlet, such as
author, version, and copyright.
By default, this method returns an empty string. Override this method
to have it return a meaningful value. See
Servlet.getServletInfo().
- getServletInfo in interface Servlet
- getServletInfo in interface GenericServlet
- String information about this servlet, by default an
empty string
init
public void init(ServletConfig config)
throws ServletException Called by the servlet container to indicate to a servlet that the
servlet is being placed into service. See
Servlet.init(ServletConfig).
This implementation stores the
ServletConfig
object it receives from the servlet container for later use.
When overriding this form of the method, call
super.init(config).
- init in interface Servlet
- init in interface GenericServlet
config - the ServletConfig object
that contains configutation information for this servlet
ServletException - if an exception occurs that
interrupts the servlet's normal operation
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.