struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David C. Hicks" <dhi...@i-hicks.org>
Subject Action redirect?
Date Mon, 15 Sep 2008 17:24:23 GMT
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@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message