struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
Subject Re: Including results from one action on a different actions jsp page - How do I do this?
Date Fri, 11 Jan 2002 17:50:59 GMT

  Have you consider using <include> tag or Tiles ?
  You can do something like :

-----------------jsp page used by (action 1) start-------
<html>

I want to include here content from (action 2)
  <tiles:insert path="action.do/>"

</html>

--------------------jsp page used by (action 1) end-------

  Cedric

antony@claire.co.jp wrote:

> Hi
>
> I have an action - (action 1), associated with this action is a jsp
> page.  What I want to do is have part of the content of this jsp page to
> be generated by another action - (action 2)
>
> -----------------jsp page used by (action 1) start-------
> <html>
>
> I want to include here content from (action 2)
>
> </html>
>
> --------------------jsp page used by (action 1) end-------
>
> Can someone please tell me how to do this.  Its kind of like
> how I include pictures at the moment, but instead of a picture I have a
> form.  This is what I have for pictures.
>
> -----------------jsp page used by (action 1) start-------
> <html>
>
> <img src="<html:rewrite page="/generateImage.do"/>">
>
> </html>
>
> --------------------jsp page used by (action 1) end-------
>
> Cheers
>
> Antony
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message