In strurt why w use two differnt files web.xml and strut
config.xml?
Answers were Sorted based on User's Feedback
Answer / naman patidar
web.xml is an application level configuration file.
struts-config.xml is framework specific file and name of
this file is configured in we.xml under tag
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
you can change the name of file and location here.
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / anil
web.xml is effect for application level, and struts-
config.xml file is effect for struts frame/work level.
| Is This Answer Correct ? | 11 Yes | 2 No |
Hi i am murali.i need a excellent answer for the question Tell me about project and project flow ? i mean it is use full to any project,it is on STRUTS
What are the various struts tag libraries?
How does one create an action in struts 2?
how handle when client send multiple request at atime for single servlet
What is controller in struts2?
What do you mean by tiles in struts?
Can we have more than one struts-config.xml file for a single struts application?
How to forward from Array List to Jsp in Struts ActionServlet class?
What is the purpose of @key?
How to depoly your struts application in JBOSS
1 Answers HP, NuWare, Satyam, Wipro,
How Struts will follow the MVC?
What kind of mvc is struts 2?