can we change the location of struts-config.xml file?
Answer Posted / 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 |
Post New Answer View All Answers
What is the purpose of @key?
How duplicate form submission can be controlled in struts?
How to build struts application in eclipse?
Can you explain aware interfaces in struts2?
What is struts2 namespace?
What steps are required to for an application migration from Struts1 to Struts2?
List the important attribute and elements of action mapping under struts.
How to use forward action to restrict a strut application to mvc?
What are the ways in which duplicate form submission can occur?
What is apache struts cve 2017 5638?
Why are springs better than struts?
What do you mean by actionform?
What is struts? Explain
What is declarative exception handling in struts?
What configuration changes are required to use resource files in Struts?