It's not a Struts bug because if you look at
target/classes/struts.xml, the substitution has probably already taken
place.  It's likely caused by this block of XML in your pom.xml:

       <resources>
           <resource>
               <directory>src/main/resources</directory>
               <excludes>
                   <exclude>ApplicationResources_zh*.properties</exclude>
                   <exclude>ApplicationResources_de.properties</exclude>
                   <exclude>ApplicationResources_fr.properties</exclude>
                   <exclude>ApplicationResources_nl.properties</exclude>
                   <exclude>ApplicationResources_no.properties</exclude>
                   <exclude>ApplicationResources_pt*.properties</exclude>
                   <exclude>ApplicationResources_tr.properties</exclude>
               </excludes>
               <filtering>true</filtering>
           </resource>
       </resources>
       <testResources>
           <testResource>
               <directory>src/test/resources</directory>
               <filtering>true</filtering>
           </testResource>
           <testResource>
               <directory>src/main/webapp</directory>
               <filtering>true</filtering>
               <includes>
                   <include>**/*.xml</include>
               </includes>
           </testResource>
       </testResources>

I'd try changing the 2nd <testResource> section so it excludes struts.xml:

           <testResource>
               <directory>src/main/webapp</directory>
               <filtering>true</filtering>
               <includes>
                   <include>**/*.xml</include>
               </includes>
               <excludes>
                   <exclude>**/struts.xml</exclude>
               </excludes>
           </testResource>

Matt

On 4/9/07, aninggo <[EMAIL PROTECTED]> wrote:

bug?
http://issues.apache.org/struts/browse/WW-1714




aninggo wrote:
>
> struts.xml
>
> <result name="input"
> type="redirect">/organize/group.html?id=${id}</result>
>
> the url
>
> 
http://127.0.0.1:8080/organize/group.html?id=org.aninggo:MyDAP:war:1.0-SNAPSHOT
>
>
>

--
View this message in context: 
http://www.nabble.com/struts2-redirect-question-tf3546213s2369.html#a9900170
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]

Reply via email to