Sorry, I misunderstood your last email. I will try that later to see whether it is the problem of including in my struts. But my problem is that I need to move part of the form into one fragment file. Thanks.
Zhu, Guojun On Thu, Sep 4, 2008 at 2:09 PM, Laurie Harper <[EMAIL PROTECTED]> wrote: > Guojun Zhu wrote: > >> Hi, >> >> I am using struts 1.2.9 with tomcat 5.5. I had a few pages with big >> "html:form". There are some common part (with some <html:text> tags) in >> the >> form. So I tried to put them aside as an import. I tried <jsp:include> >> jstl <c:import> and <tiles:insert>, all of them import everything >> literally >> into the form, instead of interprete the <html:text> tags. (I also tried >> to >> include taglib in the inserted jsp fragment page. not working.) What >> should I do? Thanks. >> > > I would expect this to work; what happens if you modify the included page > to contain the html:form and map the action to it directly (instead of > calling the including JSP)? Or keep the action mapping the same but move the > html:form tag from the including JSP to the included one? > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >