You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Liam Brady <ry...@gmail.com> on 2007/01/15 10:21:36 UTC

Re: does Not handle exceptions in JSP file?

good question - no answer?

On 10/13/06, Mississippi John Hurt <jo...@gmail.com> wrote:
>
> I know setting this will handle exceptions from struts actions, but say an
> action forwards to a jsp, then in the jsp file you get an exception.  How
> can you catch those exceptions?  I need to use the web.xml exception
> handling instead of the struts <global-exceptions> tag right? Yes, No?
> Thanks.
>
>

Re: does Not handle exceptions in JSP file?

Posted by Nuwan Chandrasoma <my...@gmail.com>.
Hi,

you can use, normal jsp exception handling mechanism where you specify a 
error page and forward it to that

eg:- <%@ page errorPage="ExceptionHandler.jsp" %>

Thanks,

Nuwan.


----- Original Message ----- 
From: "Liam Brady" <ry...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, January 15, 2007 9:21 AM
Subject: Re: <global-exceptions> does Not handle exceptions in JSP file?


> good question - no answer?
>
> On 10/13/06, Mississippi John Hurt <jo...@gmail.com> wrote:
>>
>> I know setting this will handle exceptions from struts actions, but say 
>> an
>> action forwards to a jsp, then in the jsp file you get an exception.  How
>> can you catch those exceptions?  I need to use the web.xml exception
>> handling instead of the struts <global-exceptions> tag right? Yes, No?
>> Thanks.
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org