I have recently moved from tomcat 3.2.3 to tomcat 4.1.2. I am getting a servlet error that says "Code of a method longer than 65535 bytes" on some jsp pages. They worked fine in 3.2.3. I have read elsewhere to divide up the JSP into smaller JSPs with include statements, but that was already the case. If anyone has any advice or has had this problem, thank you in advance. djochim
Thank you both for your quick replies. Already my business logic lies in servlets and mainly EJBs. The JSP I am having trouble with is only 140 lines long and mainly just has <%@ include statements for other JSP and mainly HTML files. This JSP creates one servlet that is 550K however. As I understood breaking up a JSP with include statements to other JSP was the way to go. Also in Tomcat 3.2.3 the servlet created from this JSP is equally as big (~550K) but didn't seem to have this trouble. thanks again djochim [ January 09, 2003: Message edited by: Dave Jochim ]
I did NOT mean a Servlet created from a JSP... You need to look after a REAL Servlet as the Controller and with beans as the Model, finally the JSP as the Viewer (MVC pattern). Rene
Regards, Rene Larsen
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
Free, earth friendly heat - from the CodeRanch trailboss