my dog learned polymorphism*
The moose likes Servlets and the fly likes 64k method size limit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "64k method size limit" Watch "64k method size limit" New topic
Author

64k method size limit

Mat Diss
Greenhorn

Joined: Jun 05, 2001
Posts: 1
Has anyone hit the 64k method size limit when using a lot of custom tags?
The code that converts your JSP to a JAVA file puts all the code into the _jspService method. Each custom tag uses ~ 30 lines of Java, and if you have enough of them you hit JAVA's 64k method size limit.
I can't use jsp:include to split the page up as I have a custom tag surrounding the whole page and get an error saying 'Cannot use jsp:include inside a custom tag.
Has anyone found a way around this problem?
Thanks
Mat.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 64k method size limit
 
Similar Threads
JSP Compilation Error
bytecode limits
When executing a JSP i get "Code too large for try statement"
unable to compile jsp = code too large for try statement
difference between pageContext.include and jsp:include