can we change the location of struts-config.xml file?
Answers were Sorted based on User's Feedback
Answer / rams
yes, we can change strts config.xml file location .
If we change the location of strtus config.xml file , we need to configure the file location information inside web.xml.
eg: <web-app>
<servlet>
.
.
.
<init-param>
<! we need to place strts-config.xml file here ..>
<param-name> config </param-name>
<param-value> /path of file that we need to configure /strtus-config.xml </param-value>
</init-param>
</servlet>
</web-app>
| Is This Answer Correct ? | 30 Yes | 1 No |
Answer / noname
Yes we can change but we have to include its path in
web.xml file under WEB-INF folder
| Is This Answer Correct ? | 11 Yes | 0 No |
How to forward from Array List to Jsp in Struts ActionServlet class?
how canu done chechin and check out of u r project using with sample examples?
What is the use of struts?
Whats the difference between the default namespace and the root namespace?
What is the purpose of @results?
what are the struts tags?
What is an interceptor stack?
Provide some important Struts2 constants that you have used?
How many servlet controllers are used in a Struts Application?
what is the difference between SAX Parser and DOM Parser??
14 Answers Cap Gemini, Goldman Sachs, HCL, Hidden Brains, HP,
What is the difference between empty default namespace and root namespace?
How to create validations?what are struts validation components?