net.sourceforge.pebble.web.action
Class ErrorAction

java.lang.Object
  extended by net.sourceforge.pebble.web.action.Action
      extended by net.sourceforge.pebble.web.action.ErrorAction

public class ErrorAction
extends Action

Redirects the user to a error page.

Author:
Simon Brown

Constructor Summary
ErrorAction()
           
 
Method Summary
 View process(HttpServletRequest request, HttpServletResponse response)
          Peforms the processing associated with this action.
 
Methods inherited from class net.sourceforge.pebble.web.action.Action
getModel, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorAction

public ErrorAction()
Method Detail

process

public View process(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException
Peforms the processing associated with this action.

Specified by:
process in class Action
Parameters:
request - the HttpServletRequest instance
response - the HttpServletResponse instance
Returns:
the name of the next view
Throws:
ServletException


Copyright © 2003-2006, Simon Brown. All Rights Reserved.