The variable might be getting replaced as part of the build process.
Look at target/yourapp-version/WEB-INF/classes/struts.xml to see if
it's getting replaced at build time. If so, exclude it in your pom.xml
in the resources section.
Matt
On 6/21/07, sarat.pediredla <[EMAIL PROTECTED]> wrote:
I am using a redirect-action in my Appfuse 2.0 M5 app with Struts 2.
Here is my struts.xml file
<action name="save" class="myAction" method="save">
<result name="cancel" type="redirect-action">list</result>
<result name="success" type="redirect-action">list</result>
<result name="input" type="redirect-action">
edit
true
${object.id}
</result>
</action>
But when I execute this, the browser gets re-directed to a page like below,
http://localhost:8080/edit.html?id=com.mycompany.something%3Amyproject%3Awar
Is this an issue with appfuse or with my struts configuration? The code was
copied as is from a Struts 2 tutorial except for the actual semantics.
--
View this message in context:
http://www.nabble.com/Redirect-Action-doesn%27t-like-%3Cparam%3E-in-Struts-2-archetype-tf3958395s2369.html#a11231981
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]