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 |
What is the struts in java?
What's the purpose of execute method of action class?
in struts without integrate hibernate how to use directly explain?
Does apache struts run on windows?
What is the purpose of action tag in struts.xml?
How do you find the struts version being used in a project?
What is actionservlet?
What is difference between spring and struts?
how will you view ur jsp page to the client by using properties file?
Can you explain the directory structure for a struts folder in brief ?
What are the ways in which duplicate form submission can occur?
Explain integrate log4j in struts2 application?