Let me take that back. The proper idiom is to use the params attribute.
> @Result(name="success",location="/competitions/admin",
> params={"id","${compId}"})
If there is more than one parameter, we can continue to add more
name/value pairs to the array.
-Ted.
On Nov 21, 2007 1:27 PM, Ted Hust
Leave out the get :)
@Result(name="success",location="/competitions/admin?id=${compId}",
should work just fine, if compId is an Action class property, or
otherwise on the value stack.
-Ted.
On Nov 18, 2007 12:20 AM, Eric D Nielsen <[EMAIL PROTECTED]> wrote:
> I've been trying to understand how
I've been trying to understand how parameterized results should work under the
SmartURLs plugin for Struts 2. In my specific case, I'm trying to redirect on
success to a new URL that includes a paramter. I've tried modelling it after
the standard XML=based example in the WebWork in Action book on
3 matches
Mail list logo