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
Can you give an overview of how a struts application flows?
What's the purpose of execute method of action class?
What is struts in j2ee?
Explain about token feature in struts?
What is the use of jsonvalidation in struts?
What are the features of struts?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
What is the difference between forwardaction and includeaction?
How to use forward action to restrict a strut application to mvc?
What configuration changes are required to use Tiles in Struts?
How struts2 supports internationalization?
Explain how to work with error tags?
Which components are available using actioncontext map?
Describe the basic steps used to create a tiles application?
What is struts? Explain