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
Can we use struts and spring together?
How can we handle exceptions thrown by application in Struts2?
What is the use of namespace in action mapping in Struts2?
Are interceptors and filters different?
How can link tag’s action attribute be used?
What is the forward action utilized for?
Who makes the struts?
What is difference between spring and struts?
what is ACID test for fresh engineers??what is the pattern??
Explain struts.devmode?
What does the term struts mean?
How to use dispatchaction?
What are the classes used as part of struts framework ?
What is dispatch action class?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?