struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David C. Hicks" <>
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">

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>

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?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message