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 |
Can you explain custom tag?
How to forward from Array List to Jsp in Struts ActionServlet class?
What is struts-default package and what are it’s benefits?
How to depoly your struts application in JBOSS
1 Answers HP, NuWare, Satyam, Wipro,
explain the struts-configuration file?
How can we write our own interceptor and map it for action?
what is frame work in struts?
What is Struts Flow?
How to override the default error message that can come during file uploading process?
why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?
How Struts will follow the MVC?
Which configuration file is used for storing jsp configuration information in struts?