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 many types of action clases are there in stuts and their uses?
15 Answers OHO, TCS, Wipro,
What is struts validator framework?
What is the actionform?
struts is thread safe or not ?give me answer as early as possible
Can we have multiple struts-config files in a single web app? If yes why should we have them? Will multiple copies make any impact on performance?
What is action chaining ?
how handle when client send multiple request at atime for multiple servlets servlets?
What is the purpose of @urlvalidator annotation?
How can we upload files in Struts2 application?
Why actionservlet is singleton in struts?
What is the purpose of @intrangefieldvalidator annotation?
struts comes under which layer of three tire architecture in real time projects plz i need explaination?
10 Answers Infinite Computer Solutions, TCS,