Thanks... i hadn't understand what does the "extension mapping" mean... i thought that extension mapping is used for /do/* or *.do indifferently, but no.. thanks again

[EMAIL PROTECTED] escribió:

see 
http://struts.apache.org/struts-action/userGuide/configuration.html#5_4_2_Configure_the_ActionServlet_Mapping

"WARNING - If you are using the new module support since Struts 1.1, you should be 
aware that only extension mapping is supported."

-----Original Message-----
From: Raúl Eduardo Plata [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 3:10 PM
To: user@struts.apache.org
Subject: modules and url


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]



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





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

Reply via email to