The error message looks more like your page just has some 
mismatched brackets and not a problem with exceptions.

If you have a hard time finding it in your source jsp. Look
at $TOMCAT_HOME/work/host/context/yourfile$jsp.java.
This is the compilable java source for your jsp.

Jeff


----- Original Message ----- 
From: "Raphael Di Cicco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 10:10 AM
Subject: Handle exceptions correctly


> Hi,
> 
> I used to handle exceptions quite weel within my JSP pages. This is what I 
> chose to do :
> - always throw Exceptions inside my Java methods and don't catch them inside.
> - don't do a try{} catch{} statement within my JSP pages.
> - but include an error page so that errors get redirected there.
> 
> It used to work quite well but now whenever I get a small exception somewhere 
> in the code all I have is a message saying :
> 
> 
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP        } 
> catch (Throwable t) {
>           ^
> }
> ^
> }
>  ^
> 3 errors
> 
>         at ....
> 
> The problem is that I don't know what I have changed in my code, not much. Do 
> you know what type of problems that can occur with this ?
> 
> Thanks for your help
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to