I'm not sure I understand the problem you are having in relation to the 
form tag. I have several cases where I have select and option tags in a JSP 
page which is included within another JSP which actually contains the form 
tag. For example:

A.jsp
=====

...
<html:form ... >
...
<jsp:include page="B.jsp" flush="true" />
...
</html:form>
...

B.jsp
=====

...
<html:select ... >
     <html:option ... />
     <html:option ... />
     ...
</html:select>
...

This is not a problem. What kind of issues are you seeing?

Another possibility you might want to look at would be to use the 
<html:options> tag in place of many <html:option> tags.

--
Martin Cooper


At 02:10 PM 1/24/02, 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