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 |
What is struts framework?
what is tiles in struts?
Can we have multiple struts config files in a single web app?
Which design pattern the interceptors in struts2 is based on?
What is spring and struts in java?
what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO?
6 Answers BOB Technologies, TCS,
What are disadvantages of Struts?
Why should we go for struts framework?
In which method of action class the business logic is executed?
How can we display all validation errors to user on jsp page?
What is spring hibernate and struts in java?
how to write the configuration file of struts application if any one had simple struts application please it to me