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
How we can install struts?
How struts 2 validation works?
What is ognl?
What do you know about validation plugin ?
How client side validation is enabled on a jsp form?
What are result types in struts?
Provide some important Struts2 constants that you have used?
Define struts?
What is the struts in java?
What is the purpose of global-forwards tag in struct-config.xml?
What is the use of interceptor?
What is the need of struts?
how does request processor relates to action mapping?
Why do we need struts?
What's mvc pattern ?