I'm not convinced yet that I've done everything I can with Tomcat yet to get my JSPs to work properly. The error below (and others like it from different JSP pages) don't appear in other web servers, such as Weblogic 5.1. The same JSPs compile properly on these other web servers. I've made no modifications to the code. I'm sure numerous exceptions will appear over many JSP pages on Tomcat as it is now. What I am wondering is whether there may be a way to customize tomcat with a different JSP compiler.
I do admit I am a newbie at this...there is alot to Tomcat and JSP I don't understand yet. Your help is most appreciated. Thank you, Kyle P. -----Original Message----- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 5:27 PM To: 'Tomcat Users List' Subject: RE: JasperException: Unable to compile class for JSP I think your answer is right in the output: "Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception" instead of: -- if (pageContext != null) pageContext.handlePageException(t); -- Try this: -- if (pageContext != null) pageContext.handlePageException((Exception) t); -- -Andrew Conrad -----Original Message----- From: Pearsall, Kyle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 8:00 PM To: Tomcat (E-mail) Subject: JasperException: Unable to compile class for JSP Thank you for the help with Tomcat and SQL server 2000. Now I get a different problem. The jsp files can't compile correctly at runtime. This code works properly on Weblogic 5.1. Do I need to fix something in Tomcat? Any suggestions? Thank you, Kyle P. org.apache.jasper.JasperException: Unable to compile class for JSP D:\TOMCAT\work\Standalone\localhost\dhimaging\jsp\Albums$jsp.java:689: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception. if (pageContext != null) pageContext.handlePageException(t); ^ 1 error -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
