That said, if you do want to link directly to a JSP page, the method you describe will probably work. Review http://struts.apache.org/userGuide/struts-html.html#link to see some ideas on adding request parameters dynamically using the <html:link/> tag. In your JSP page, you will be able to access these parameters as usual.
HTH,
Jeff
Shabada, Gnaneshwer wrote:
Hi, Was wondering if calling a JSP directly a good approach in struts or should I always go through Action/Action Mappings. I have a situation where I have a result list displayed in a table and each row has email icon which when clicked should display a JSP where one can enter email text and preview the email. So I thought I could directly call JSP using <html:link page="email.jsp">. But I also want to send the "To:" email address of from the row where it is clikced. Can I pass it as a request paramter when I call the JSP directly or do I call an Action instead ? If I can call thru JSP, how do I retrieve that email value in the next JSP??
Thanks for your help Gnan
======================================================================== This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED] Toys "R" Us, Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]