struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Engr. Jherald Gerome Lacambra" <jgalacam...@gmail.com>
Subject Re: Create multiple struts configuration file problem
Date Thu, 07 Aug 2008 06:11:27 GMT
try first to use what i have posted. Its different from what you are using
now

2008/8/7 angelwei <goocheewei@hotmail.com>:

>
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Jherald Gerome Lacambra

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message