try first to use what i have posted. Its different from what you are using
now

2008/8/7 angelwei <[EMAIL PROTECTED]>:

>
> 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]
>
>


-- 
Jherald Gerome Lacambra

Reply via email to