What you can do is:
>   <action path="/processSimple"  ... >
>    <forward name="success" path="/jsp/simple/SimpleResults.jsp?id="
>     redirect="true" />
>   </action>

...then in your action:

ActionForward result = new ActionForward(mapping.findForward("success"));
result.setPath(result.getPath() + myIdValue);
return result;

If you need to specify more than one param, or need to decide which
params to include at runtime, download the attachment [
http://issues.apache.org/bugzilla/attachment.cgi?id=13818 ] to bug 866
[ http://issues.apache.org/bugzilla/show_bug.cgi?id=866 ].  (Then if
you'd like Struts to support this functionality, vote for the bug
while you're there.)

Hubert

On Fri, 11 Feb 2005 13:58:28 -0800, Betty Koon <[EMAIL PROTECTED]> wrote:
> Does 1.2.4 support the following?
> 
>   <action path="/processSimple"  ... >
>    <forward name="success" path="/jsp/simple/SimpleResults.jsp?id={0}"
>     redirect="true" />
>   </action>
> 
> How would pass the argument in Action?  Thanks.
> 
> -Betty
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to