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
how to debug struts project in netbean ?
How properties of a form are validated in Struts?
What is the purpose of execute method of action class?
What are Struts2 core components?
Which technologies can be used at view layer in struts?
Explain about the
State the procedure for using forward attribute of link tag’s.
What do you mean by actionmapping?
Explain the components of struts?
What is the purpose of struts.xml in struct2?
Where should struts xml be placed?
What is action servlet in struts?
What is http forward?
in struts how to use hibernate with struts>
What are different Struts2 tags? How can we use them?