struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miriam Aguirre <>
Subject RE: How do I pass value
Date Tue, 16 Jul 2002 18:10:02 GMT

 I'm sure there's many ways to do it, my (lazy) way of doing is to simply
append the parameter to forward name, such as:

 return new ActionForward(actionMapping.findForward(Success).getPath()
+"?parameterName="+ someName;

-----Original Message-----
From: Radhakrishnan R []
Sent: Monday, July 15, 2002 9:01 PM
Subject: How do I pass value

I am new to struts and currently trying to test the following scenario.

After submitting a form, a image has to be displayed to the user. The image
is dynamically generated.The image file name is generated by the business
tier.As a part of the submission process, I have an action bean , action and
business logic class. I also have a forward for success.

    <forward name="Success" path="/showimage.jsp"/>

<form-bean name="imageForm" type="com.test.form.imageForm"/>

In other words after the image.jsp is processed, I want to invoke the
showimage.jsp. This jsp file displays the image using <img src>.

The problem I have is how do I pass the filename generated by the
business(model) tier
to showimage.jsp.

Any help will be appreciated.

Thanks in advance

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message