Yes, you're guess is correct, this is related to the 64k limit. There was a previous workaround for this problem posted to this list that I've used successfully to resolve the same problem. It puts a 'little bit' of Java into your .jsp, which is evil, but it makes all the options accessible, which is good, let your conscience be your guide ;-)
(This is a reprint of a fix given by John Nikolai) <% String states[] = { "AL", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MI", "MN", "MS", "MO", "MT", "NE", "NC", "ND", "NH", "NJ", "NM", "NY", "NV", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY" }; pageContext.setAttribute("states", states); %> <html:select property="state" styleClass="state" size="1"> <html:option value="">State</html:option> <html:options name="states" labelName="states" /> </html:select> regards, Stephen Owens Corner Software -----Original Message----- From: flare [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 01, 2001 10:15 AM To: [EMAIL PROTECTED] Subject: struts/java limitation ? Hi, I'm building a form with an high number of select options, the form is big but not that big (the jsp is less than 15K). Well when I try to render the form using struts (and resin) I get: ------------ 500 Servlet Exception javax.servlet.jsp.JspException: (class: _secure/_page/_patient__jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletR esponse; )V) Illegal target of jump or branch at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:149) at _secure._template._patient__jsp._jspService(/prevenet/secure/template/pa tient.js p:33) at com.caucho.jsp.JavaPage.service(JavaPage.java:74) at com.caucho.jsp.Page.subservice(Page.java:476) at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:176 ) at com.caucho.http.security.SecurityFilter.doFilter(SecurityFilter.java:112 ) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java :87) at com.caucho.server.http.Invocation.service(Invocation.java:277) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129) at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:33 7) at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java :269) at com.caucho.server.TcpConnection.run(TcpConnection.java:140) at java.lang.Thread.run(Thread.java:484) --------- if I comment out a select or even a bunch of options (randomly) it works, is there a kind of limitation in struts or has to do with the 64K method limit of JAVA? Perhaps I can use the Struts "options" tag and a collection to solve but I would like to keep the options in the jsp ;( Thanx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>