if i try this on web.xml:

   <servlet>
         <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,
/WEB-INF/struts-config-product.xml</param-value>
     </init-param>
      <load-on-startup>1</load-on-startup>
</servlet>

it can run well. but if i try to use different <init-param> tag 
it come out the error.

javax.servlet.jsp.JspException: Cannot retrieve mapping for action /pro.

<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/product</param-name>
<param-value>/WEB-INF/product/struts-config-product.xml</param-value>
</init-param> 

what's going wrong???
i waste a lot of time to solve it..
Do u have any idea???
-- 
View this message in context: 
http://www.nabble.com/Create-multiple-struts-configuration-file-problem-tp18748135p18863061.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to