Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Three struts-config files specified in the webapp's web.xml file ,Which one is Loading first?

 
Rama chandranS
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic