Skip to Main Content

Java Development Tools

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!

_jspService is exceeding the 65535 bytes limit

436348Mar 28 2011 — edited Mar 28 2011
This is related to my previous question - "http://forums.oracle.com/forums/message.jspa?messageID=9470324#9470324".

I finally got the translated Java file and the problem seems to be with the JSTL translation:

For example, the JSTL code

<c:out value="${1+2}"></c:out>

will be translated to

org.apache.taglibs.standard.tag.el.core.OutTag __jsp_taghandler_1=(org.apache.taglibs.standard.tag.el.core.OutTag)OracleJspRuntime.getTagHandler(pageContext,org.apache.taglibs.standard.tag.el.core.OutTag.class,"org.apache.taglibs.standard.tag.el.core.OutTag value");
__jsp_taghandler_1.setParent(null);
__jsp_taghandler_1.setValue("${1+2}");
__jsp_tag_starteval=__jsp_taghandler_1.doStartTag();
if (__jsp_taghandler_1.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_1);
}

I got a "_jspService is exceeding the 65535 bytes limit" compile error on some JSPX page which has a lot of JSTL tags, although the JSPX file doesn't look that big. Using too many JSTL tags may run into this error easily because the translation generates a lot more Java code. I wonder if there's any way to tweak the JSTL translation and make the Java or the class file smaller.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2011
Added on Mar 28 2011
2 comments
906 views