Hi, i am using two modules on my web.xml

   <servlet-name>action</servlet-name>
   <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
   <init-param>
     <param-name>config</param-name>
     <param-value>/WEB-INF/struts-config.xml</param-value>
   </init-param>
   <init-param>
     <param-name>config/test</param-name>
     <param-value>/WEB-INF/struts-test.xml</param-value>
   </init-param>

But my mapping instead of use *.do is using /do/*

   <servlet-mapping>
   <servlet-name>action</servlet-name>
   <url-pattern>/do/*</url-pattern>
 </servlet-mapping>


How can i call an action in module test?

using the default .do mapping i can do it with:
url : http://localhost:8081/context/test/mytest.do
action: http://localhost:8081/context/switch.do?prefix=/test&page=/mytest.do

but using "my mandatory" /do/* is not working with
url : http://localhost:8081/context/test/do/mytest
action: http://localhost:8081/context/do/switch?prefix=/test&page=/do/mytest

Please help


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

Reply via email to