Sorry if I'm arriving a little late to this thread. And I may be about to show level of JSP ignorance but ...
It was my understanding that the 64K code limit was not the size of the class but the bytecode size of any one method. Normally, the JSP compiler generates a servlet that puts all of the code for your JSP expressions and scriptlets in the _jspService method. This method corresponds to the body of the JSP page. In contrast, JSP also specifies a declaration syntax using <%! %> which supports declaration of variables and, in fact, methods which will be generated into the servlet outside the _jspService method. Best regards, Jim Cakalic > -----Original Message----- > From: Barr, Scott [IBM GSA] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 24, 2002 5:12 PM > To: 'Struts Users Mailing List' > Subject: RE: html:option and the 65k wall > > > Hi Danny > > When using large lists in previous projects, I have used url > that generate > popup windows from which you can do searches on relevant data. > The user would do their search in the popup, select the item > they wanted. > Clicking OK would the populate the parent form with the data, > and close the > popup window. > Worked very well, and saved delivering large amounts of data > to the client > > Just a suggestion :) > Scott Barr > > > > -----Original Message----- > > From: Danny Collins [SMTP:[EMAIL PROTECTED]] > > Sent: Friday, January 25, 2002 8:40 AM > > To: [EMAIL PROTECTED] > > Subject: html:option and the 65k wall > > > > Hello all, > > I have a jsp page that has a ton of very long > option lists. > > These are all generated dynamically from the DB. The > problem is, if we > > try to use the html:option tag we exceed 65k. What I would > like to do is > > move each html:select with all of it's generated options > into it's own > > jsp and just include all of the jsps on the main page. The > problem with > > that is the html:select's are mapped to the form class and > I can't seem > > to be able to figure out the syntax to be able to get to > the form using > > the html:select and html:options on an included page. > > We did try to use the jsp:useBean with the > FormClass on the > > included page but that didn't seem to help. So either the > included pages > > are being compiled first so the form isn't in the request > yet or we have > > the syntax all wrong. > > > > Any suggestions? > > > > Danny Collins > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> <font size="1">Confidentiality Warning: This e-mail contains information intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited. The sender does not accept any responsibility for any loss, disruption or damage to your data or computer system that may occur while using data contained in, or transmitted with, this e-mail. If you have received this e-mail in error, please immediately notify us by return e-mail. Thank you.

