Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Is it possible to pass a dynamic parameter to a redirectAction?

Piero Sartini

2007-08-02

Replies:

I have the following situation:
a searchfield is on top of a table presenting results. if there is only one
result, the user should be redirected without the need of clicking on the
list..

now my problem is how to redirect to an action and passing a parameter from
within my original action..

I am working around this by putting the ID information into the user
session ... but I am sure there is a cleaner way of doing this ;)

Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.