You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jim Reynolds <ji...@gmail.com> on 2005/12/21 20:41:33 UTC
global forward out of module
I am working within a struts module. I have a session expires
exception that I want to forward to the login of my site.
In my global-exceptions I entered the class that is being thrown, and
a forward like so:
<global-exceptions>
<exception key="expired.session" path="/index.jsp" scope="request"
module="" type="xxx.xxx.SessionExpiredException"/>
</global-exceptions>
I tried setting the module to '' but it does not work. Instead of
going to the index.jsp which is in the docroot, it is going to the
index.jsp which is under my module.
Is there anyway to do what I would expect? And that would be to
forward out of the module, to the default application?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org