my dog learned polymorphism*
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
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)

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding Dynamic parameters to Action Forward in struts