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 i use constructor in Action Class?If yes how?
What is struts in j2ee?
Explain about the <html:base> tag?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
How properties of a form are validated in Struts?
What is Custom Type Converter in Struts2?
Explain about how requests from the client are sent?
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
8 Answers Athena Health Care, Symphony, TCS,
Why use spring, if you are already using struts?
Is form beans are serializable or not?
11 Answers College School Exams Tests, Magna Infotech,
How we can controlled duplicate form submission in struts?
Where can i get jar file for use the struts-tags in struts2?