Hey anybody have a quick idea what would cause my URL to grow.

First time I hit the page:

http://localhost:8080/XXXX/struts/locationAssign

submit the page then:

http://localhost:8080/XXXX/struts/struts/locationAssign

then submit again:

http://localhost:8080/XXXX/struts/struts/struts/locationAssign

Here is my struts.xml:

<struts>

      <constant name="struts.devMode" value="true" />

      <package name="etasstruts2" extends="struts-default">

            <action name="test" 
class="gov.usbr.etas.web.struts.StrutsTestAction" method="execute">
                  <result name="success">/struts/test.jsp</result>
                  <result name="input">/struts/test.jsp</result>
            </action>
            <action name="locationAssign" 
class="gov.usbr.etas.web.struts.LocationAssignAction" method="execute">
                  <result name="success">/struts/locationAssign.jsp</result>
                  <result name="input">/struts/locationAssign.jsp</result>
            </action>
      </package>

</struts>

And my web.xml:

      <filter>
            <filter-name>struts2</filter-name>
            
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
      </filter>

      <filter-mapping>
            <filter-name>struts2</filter-name>
            <url-pattern>/struts/*</url-pattern>
      </filter-mapping>

Thank you for your help!!!

Reply via email to