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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorEvent
public ErrorEvent()
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