tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Taylor" <colin.tay...@practiv.com>
Subject using resin and scrape
Date Fri, 08 Jun 2001 01:55:09 GMT
Hi,
I'm trying to use the scrape tags with Resin but run into the following
problem when running the sample scrape.jsp:

/scrape.jsp:71: Exception javax.servlet.jsp.JspException must be caught, or
it must be declared in the throws clause of this method.
    tag0.setTime("11");

This is generated from :

        <scrp:page
url="http://weather.noaa.gov/cgi-bin/fmtbltn.pl?file=forecasts/city/mo/colum
bia.txt" time="11">

    This makes sense because setTime throws an exception. So,  how come no
exception handling tags are used in the example. The tag initilisation
occurs in the servlet method private void _caucho_init_tags(PageContext
context, Tag []tags) which again doesnt catch (or even throw) an exception
so what gives.

Resin claims to be jsp 1.2 compliant.

Ive never had to worry about exceptions from jsp tags before so im confused.

Regards,
Colin.





Mime
View raw message