tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mattias Brändström <bra...@ludd.luth.se>
Subject Re: jspInit() and errors
Date Sun, 05 May 2002 08:12:59 GMT
No, that doesn't work. jspInit() isn't declared to throw an exception 
and that makes it illegal to override it with a method that do throw an 
exception.

Abraham Fathman wrote:
> Mattias,
> 
> Can you just throw an exception?
> 
> Abe
> 
> -----Original Message-----
> From: Mattias Brändström [mailto:brasse@ludd.luth.se] 
> Sent: Saturday, May 04, 2002 10:02 PM
> To: tomcat-user@jakarta.apache.org
> Subject: jspInit() and errors
> 
> 
> Hi!
> 
> As I understand it I can override jspInit() and do write some 
> initialisation code for my JSP-page there. Now I have been looking at 
> the JSP 1.2 specification and I can't find any way to report errors from
> 
> jspInit(). To me that seems like a good thing to do. If I can't 
> initialise my page then I don't want it to be created/instantiated.
> 
> How do you guys handle this problem? Or perhaps you don't think it is a 
> problem? Then I'd like to know why! =)
> 
> Regards,
> Mattias
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message