Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Action redirect?

David C. Hicks

2008-09-15

Replies: Find Java Web Hosting

Author LoginPost Reply
What's the proper way to configure an action to call another action upon
success? I've tried this...

<action name="remove" method="remove" class="siteAction">
       <result>list.action</result>
</action>

This doesn't work. It says it cannot find the URI. In this case
"/quickstart/site/list.action" (this is based on the quickstart example).

I also tried...

<action name="remove" method="remove" class="siteAction">
       <result type="redirectAction">list</result>
</action>

This actually fails to compile, complaining about there not being a type
"redirect" mapped to name "success". The documentation is silent on
this type, though.

Any help?
Thanks,
Dave


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

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