I thought I'd upgrade my tomcat to 4.1.12 from 4.0.x.

I'm using struts 1.1b2, j2skd1.4.1, various linux distributions.

I only had issue.  I have one page that conditionally includes another
page.  With tomcat 4.0.x I've never had a problem.  When I upgraded, the
compiler could not compile that page.  Both pages have lots of struts tags in them.
I got many exceptions:

2002-10-10 05:25:01 Error compiling file:
/legacystamps/app/jakarta-tomcat-4.1.12-LE-jdk14/work/Standalone/legacystamps/_/WEB-INF/pages/search/results_jsp.java
     [javac] Compiling 1 source file
    [javac]
/legacystamps/app/jakarta-tomcat-4.1.12-LE-jdk14/work/Standalone/legacystamps/_/WEB-INF/pages/search/results_jsp.java:103:108:103:184:
 Error: The method "javax.servlet.jsp.tagext.Tag get(java.lang.Class $1) throws 
javax.servlet.jsp.JspException;" can throw the checked exception 
"javax/servlet/jsp/JspException", so its invocation must be enclosed in a try 
statement that catches the exception, or else this method must be declared to throw 
the exception.

...This printed over an over about different line numbers.


Anyone have a similar experience?  Is it just the conditional include?
ie.. is this bad?..

<% if (...) { %><@include file="..."%><% } %>

Thanks for any input.
Dennis

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

Reply via email to