wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "64k method size limit" Watch "64k method size limit" New topic

64k method size limit

Mat Diss

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?
I agree. Here's the link: http://aspose.com/file-tools
subject: 64k method size limit
Similar Threads
unable to compile jsp = code too large for try statement
JSP Compilation Error
difference between pageContext.include and jsp:include
bytecode limits
When executing a JSP i get "Code too large for try statement"