I've had similar problems myself (not fully answered yet).  Here's a couple
of issues that I found:

1. Check the exception messages / stack traces in your browser and logfiles
carefully to make sure that droit.jsp is not itself throwing a second
exception when trying to display the DroitsException that "called" it.

2. does droits.jsp contain this line?
    <[EMAIL PROTECTED] isErrorPage="true"%>


> -----Original Message-----
> From: François Richard [mailto:[EMAIL PROTECTED] 
> Sent: Monday 04 October 2004 13:53
> To: [EMAIL PROTECTED]
> Subject: error-page exception-type
> 
> 
> Hi,
> I'm blocked since this morning with an annoying problem on 
> Tomcat (5.27 
> and 5.28). Impossible to redirect users with the error-page 
> tag on jsp 
> and html files. I'm using that on the web.xml :
>     <error-page>
>         
> <exception-type>com.sofice.commun.securite.DroitsException</ex
ception-type>
>         <location>/pagesError/droits.jsp</location>
>     </error-page>
> 
> The jsp are well-compiled but the broswer display an error 
> message (HTTP 
> 500). The start of the DroitsException (jsp, servlet ...) is 
> unimportant 
> the problem is the same.
> Notice that the redirection works fine with servlet and 'directory 
> listing' :
>     <error-page>
>         
> <exception-type>com.sofice.commun.securite.DroitsException</ex
ception-type>
>         <location>/servlet/test</location>
>     </error-page>
>     <error-page>
>         
> <exception-type>com.sofice.commun.securite.DroitsException</ex
ception-type>
>         <location>/pagesError/</location>
>     </error-page>
> 
> Many thanks for your answer.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to