lcanals.tc.web.event
Class ErrorEvent

java.lang.Object
  |
  +--lcanals.tc.web.event.AbstractEventHandler
        |
        +--lcanals.tc.web.event.ErrorEvent
All Implemented Interfaces:
EventHandler

public class ErrorEvent
extends AbstractEventHandler

Redirect to error page. If exception attribute is present in the request, JSP probably can do something with it.
Error page URL has to be set by the URL.properties file.

Author:
www.lfcanals.es.org

Fields inherited from interface lcanals.tc.web.event.EventHandler
DEFAULT_EVENT, ERROR_EVENT
 
Constructor Summary
ErrorEvent()
           
 
Method Summary
 void forward(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Forward to ERROR url
 void process(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request)
          Do nothing
 
Methods inherited from class lcanals.tc.web.event.AbstractEventHandler
dispatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorEvent

public ErrorEvent()
Method Detail

process

public void process(javax.servlet.ServletContext context,
                    javax.servlet.http.HttpServletRequest request)
             throws EventHandlerException
Do nothing
Following copied from interface: lcanals.tc.web.event.EventHandler
Throws:
EventHandlerException - when is no possible to process the request (usually due to crack intends)

forward

public void forward(javax.servlet.ServletContext context,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Forward to ERROR url


Luis F. Canals. Supported by www.sourceforge.net