S
stu
Hi there,
I'm using declarative exception handling with struts 1.3 using the
<global-exceptions> element as follows:-
<global-exceptions>
<exception key="error.exception.invalidMagazine"
type="java.lang.Exception"
handler="com.dovetailservices.sol3.services.exception.Sol3ExceptionHandler"
path="/WEB-INF/pages/error.jsp">
</exception>
</global-exceptions>
This works fine, however instead of forwarding to a jsp (error.jsp)
I'd like to forward to a tiles definition when an exception is caught,
like so:-
<global-exceptions>
<exception key="error.exception.invalidMagazine"
type="java.lang.Exception"
handler="com.dovetailservices.sol3.services.exception.Sol3ExceptionHandler"
path=".error">
</exception>
</global-exceptions>
However this doesn't work. Is there any way of getting this working?
Thanks in advance,
Stuart
I'm using declarative exception handling with struts 1.3 using the
<global-exceptions> element as follows:-
<global-exceptions>
<exception key="error.exception.invalidMagazine"
type="java.lang.Exception"
handler="com.dovetailservices.sol3.services.exception.Sol3ExceptionHandler"
path="/WEB-INF/pages/error.jsp">
</exception>
</global-exceptions>
This works fine, however instead of forwarding to a jsp (error.jsp)
I'd like to forward to a tiles definition when an exception is caught,
like so:-
<global-exceptions>
<exception key="error.exception.invalidMagazine"
type="java.lang.Exception"
handler="com.dovetailservices.sol3.services.exception.Sol3ExceptionHandler"
path=".error">
</exception>
</global-exceptions>
However this doesn't work. Is there any way of getting this working?
Thanks in advance,
Stuart