Hi All,

I am using a replaceable variable in my struts.xml file to pass data via my 
action during a redirect, like this:

<action name="saveRouteDelivery" class="au.com.myapp.webapp.action.RouteAction" 
method="saveDelivery">
    <result name="success" 
type="redirect">editRoute.html?id=${route.id}</result>
    <!-- snip -->
</action>

However, I'm finding that the maven build process is replacing this variable if 
it is $(id) or ${xxx.id} where "xxx" can be 
any string.  It's being replaced with a string like the following:

au.com.myapp:myapp_trucking:war:0.1-SNAPSHOT

AFAICT, this is made up of elements from the pom.xml file:
    groupId (au.com.myapp)
    artifactId (myapp_trucking)
    packaging (war)
    version (0.1-SNAPSHOT)

Is this expected behaviour?  If so, is there a way of putting something like 
${route.id} into my struts.xml file so that it isn't 
replaced, or will I have to refactor the app to use a different parameter name 
here?

Cheers,
Rob Hills
Waikiki, Western Australia
Mobile +61 (412) 904-357
Fax: +61 (8) 9529-2137

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

Reply via email to