Using Jasper and taglibs, how do I avoid the error "Code of a method longer than 65535 bytes"?

Alessandro A. Garbagnati

Hi,
Unfortunately there are no simple solutions to this problem. The biggest issue is that Java does not allow a method to be bigger than 65535 bytes. If you look the java generated code of your jsp file, you will probably see a huge jspService method, due to the high number of tags.

One possible solution you can try is to split the page into more pages, and then include the pages into one main page. This would reduce the size of the method of the main page and of all the other pages.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact