| Author |
Three struts-config files specified in the webapp's web.xml file ,Which one is Loading first?
|
Rama chandranS
Greenhorn
Joined: Jan 13, 2012
Posts: 3
|
|
Hi All,
Three struts-config files specified in the webapp's web.xml file ,Which one is Loading first?
Here is My web.xml file. Please Help
<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-config1.xml,/WEB-INF/struts-config2.xml,/WEB-INF/struts-config3.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
|
 |
candid java
Greenhorn
Joined: Jan 13, 2012
Posts: 14
|
|
I hope you the following code will hlep you
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config1.xml
</param-value>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config2.xml
</param-value>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config3.xml
</param-value>
if you are not cleared refer this link http://candidjava.com/basic-program-using-struts-1x-with-example-program-in-eclipse
|
 |
 |
|
|
subject: Three struts-config files specified in the webapp's web.xml file ,Which one is Loading first?
|
|
|