org.mortbay.servlet

Class Forward

public class Forward extends HttpServlet

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.

Version: $Id: Forward.java,v 1.9 2005/08/13 00:01:28 gregwilkins Exp $

Author: Greg Wilkins (gregw)

Method Summary
voiddestroy()
voiddoGet(HttpServletRequest sreq, HttpServletResponse sres)
voiddoPost(HttpServletRequest sreq, HttpServletResponse sres)
StringgetServletInfo()
voidinit(ServletConfig config)

Method Detail

destroy

public void destroy()

doGet

public void doGet(HttpServletRequest sreq, HttpServletResponse sres)

doPost

public void doPost(HttpServletRequest sreq, HttpServletResponse sres)

getServletInfo

public String getServletInfo()

init

public void init(ServletConfig config)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.