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 are the steps of struts installation?
List the important attribute and elements of action mapping under struts.
What is structs 2 validation framework?
I have 4 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. how we can make it possible
What is struts actionmapping?
How can we integrate log4j in Struts2 application?
What are the steps used to setup dispatch action?
Hai all.What is the use of <logic:iterate>tag in struts application.
What are the action classes in struts?
How can duplicate form submission be handled in struts 2?
What is the purpose of @after?
What is the use of Struts.xml configuration file?