A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Sturts Action servlet init params in web.xml file
nand rai
Greenhorn
Joined: Feb 17, 2009
Posts: 27
posted
Aug 26, 2009 07:23:34
0
<
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</param-value>
</init-param>
<init-param>
<param-name>config/App/admin</param-name>
<param-value>/WEB-INF/struts-config-admin.xml</param-value>
</init-param>
<init-param>
<param-name>config/App/appointment</param-name>
<param-value>/WEB-INF/struts-config-Logic.xml</param-value>
</init-param>
<init-param>
<param-name>config/App/profiles</param-name>
<param-value>/WEB-INF/struts-config-profiles.xml</param-value>
</init-param>
</servlet>
How does the ActionServlet knows to load all the init params?
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Aug 26, 2009 09:25:26
0
That's what
servlets
do: load their init params.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Sturts Action servlet init params in web.xml file
Similar Threads
java.lang.NullPointerException at the starting of tomcat 6.0
Need related struts subapps in one struts app
The method doMarkDoneOutboundCall(null, String) is undefined for the type Done_jsp
Parsing error processing resource path /WEB-INF/struts-config.xml
error comes while running the struts application please see the source code for detail
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter