Problem : Tomcat can't compile a JSP.

2003-03-07 Thread Guillaume Albini
Hi, I use Tomcat 4.0.1 and Struts 1.0.2. I created a JSP file using lots of Struts tags. When Tomcat compile this JSP, i have lots of errors of type : Variable _jspx_th_bean_write_12 may not have been initialized. if (_jspx_th_bean_write_12.doEndTag() ==

Problem : Tomcat can't compile a JSP.

2003-03-07 Thread Guillaume Albini
Hi, I use Tomcat 4.0.1 and Struts 1.0.2. I created a JSP file using lots of Struts tags. When Tomcat compile this JSP, i have lots of errors of type : Variable _jspx_th_bean_write_12 may not have been initialized. if (_jspx_th_bean_write_12.doEndTag() ==

Re: Problem : Tomcat can't compile a JSP.

2003-03-07 Thread Steven Shand
I've been having the very same problems. I narrowed it down to only happening on OS X and on Solaris. It only seemed to be happening in situations where there were 'many' custom tags being used. As a last resort I migrated my project to Tomcat 4.1.x and this solved the problem. I guess there

Re: Problem : Tomcat can't compile a JSP.

2003-03-07 Thread Jon Wingfield
Ah. That rings a bell. You could be running into the problem where for large pages the generated java method _jspService(...) is too long (32k, i think) and the compilation fails. The use of a lot of custom tags REALLY bumps up the size of the generated java code. In jasper 2 (used in 4.1.x)