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
What is the purpose of @results annotation?
How we can configured action mapping in struts?
How can we group related actions in one group in Struts?
What's mvc pattern ?
What is the purpose of @doublerangefieldvalidator annotation?
Explain about struts?
What are the features of struts?
Explain integrate log4j in struts2 application?
What is struts in java with example?
What does execandwait interceptor?
How does one create an action in struts 2?
What are the life cycle methods of interceptor?
How can forward action be used to restrict a strut application to mvc?
What is value stack?
What do you mean by actionform?