Might be an interesting use-case for Velocity templates. 

It's not an election of remedies; these can be used along side of JSPs
as needed. So you could just pop one in here, and then go back to JSPs.

http://husted.com/struts/resources/velstruts.zip

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/


Danny Collins wrote:
> 
> 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]>

Reply via email to