wood burning stoves 2.0*
The moose likes Struts and the fly likes Adding Dynamic parameters to Action Forward in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Adding Dynamic parameters to Action Forward in struts" Watch "Adding Dynamic parameters to Action Forward in struts" New topic
Author

Adding Dynamic parameters to Action Forward in struts

sony Kamesh
Greenhorn

Joined: Dec 27, 2007
Posts: 2
Hi Frnds,

In Our Application , we have requirement like

1) add Dynamic parameters to Action Forward . We are using Struts 1.1.2 version and tiles

I try to use following code

actionForward.setPath(Mapping.findForward("success").getPath() +"?key1=" + value1);

But Here Mapping.findForward("success") which returns path ( points to tiles Definition)

After Appending the Key1 it not finding tile definition .


Can you give any Suggestions


Regards

Kamesh.A
Travis Hein
Ranch Hand

Joined: Jun 06, 2006
Posts: 161
does it work if you make the action a redirect, ?
(would require the tiles target page is visible from an external url then though)



Error: Keyboard not attached. Press F1 to continue.
Travis Hein
Ranch Hand

Joined: Jun 06, 2006
Posts: 161
Travis Hein wrote:does it work if you make the action a redirect, ?
(would require the tiles target page is visible from an external url then though)

 
Don't get me started about those stupid light bulbs.
 
subject: Adding Dynamic parameters to Action Forward in struts
 
Similar Threads
Forwards Tiles & Anchors
Call servlet from action class
Problem while creating Struts application
Problem in inserting values to database from action class
c:set equivalent in struts tag ?