JSP - Unable to Compile

DaNuGai

Member
I am getting the following error.

The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

I have a form in which I three <SELECT> drop down menu. For each of those <SELECT> menu, I have 5500+ <OPTIONS>. Since all three <SELECT> Menu uses the same <OPTIONS>, I an include file and attached in my JSP.

I understand why I am getting the error but I wanted to know if there is a way around it.
 
I tried
<jsp:include page="options.inc" flush="true"/>
instead of
<%@ include file="options.inc" %>
and this time I didn't get any error.

Can anyone explain the difference and what does that flush="true" mean?
 
Back
Top