Rendering controls from one JSP to another

Hi Guys,

I need to render html controls from one JSP on another JSP. Basically I want to have a link on a JSP1 that redirects the user to JSP2 and JSP2 then iterates through HTML control on JSP1 and renders them. How should I go about achieving this? Goal is to render a printer friendly version of a JSP in another JSP or HTML. If there is a better way of doing this, please point that out as well.

Thanks!

Awais.

[439 byte] By [Awais_Malika] at [2007-11-27 11:45:12]
# 1

Onclick of the link in your jsp1, call an action and open a new window jsp2. In your action mappings (struts-config.xml) give input as jsp1. That should work.

skp71a at 2007-7-29 18:00:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...