In my opinion the largefile option of the jsp servlet in the global web.xml file seems to be without effect. No ".dat" file are generated like in 4.0.x. I have also scanned the jasper2 code for this option. The option is set at the EmbededServletOptions class, but nobody seems to use this value inside of the jasper package? If i have a large jsp page, which produces a method, that is bigger than 64k the following execption is thrown: javax.servlet.ServletException: org/apache/jsp/ch1253utf8_jsp (Code of a method longer than 65535 bytes) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke (ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude (ApplicationDispatcher.java:575) at org.apache.catalina.core.ApplicationDispatcher.include (ApplicationDispatcher.java:498)
I too have this bug - my code works in 4.0.5 and 4.0.4 even without the largeFile option. Also in version 4.1.18. My complete code is available see: http://lists.w3.org/Archives/Public/www-webont-wg/2003Feb/0267.html It is not the world's best code - I don't understand tags and have used include as an alternative for the functionality I wanted - which is one of the reasons I hit this bug. (The goal of the code is to generate: http://www.w3.org/TR/owl-test/ which is a static copy of the output). Thanks for your efforts.
You are correct. Largefile does have no effect as it is not a valid option for Jasper2. To save future confusion I will remove all references to it from both the source and the docs.
I have just committed changes to TC4 and TC5 to remove references to the largefile option.
So how to resolve this problem (Code of a method longer than 65535 bytes)???