struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guojun Zhu" <zgg...@gmail.com>
Subject Re: how to import something with html:xxx tage into a form?
Date Thu, 04 Sep 2008 20:24:30 GMT
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 <laurie@holoweb.net> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message