Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error: Java method is exceeding 65535 bytes

843811Apr 29 2004 — edited May 3 2004
Hi,
I got a complex JSP page which contains more than 200 labels and Text fields. When this web page is compiled by weblogic to generate a servlet, it is giving error as below....
C:\bea\user_projects\ConductorDomain\DesignCenterServer\.wlnotdelete\DesignTimeCCS_DesignTimeCCS_75848weblogic_jsp\_prototype\_com\_commerceone\_prototype\_jsp\__frm_itemchangeformcontroller.java:23272: code too large for try statement

When I tried to compile the generated java file seperately using eclipse I got the same message in slightly different format as
The code of method _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) is exceeding the 65535 bytes limit

Is there is any workaround for this limit issue?. Thanks for your time

Senthil
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2004
Added on Apr 29 2004
4 comments
1,948 views