In strurt why w use two differnt files web.xml and strut
config.xml?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

803


What is the purpose of @conversion annotation annotation?

920


Give an example of validates method used to avoid errors.

728


How struts control data flow?

777


Difference between struts and spring? Or why use spring, if you are already using struts?

741


What are struts in java?

695


What's the purpose of execute method of action class?

715


Why we use struts in java?

717


What is interceptor struts2?

761


How we can controlled duplicate form submission in struts?

723


In how many ways duplicate form submission can occurs?

781


What are best practices to follow while developing Struts2 application?

803


What are the steps required for setting up validator framework in struts?

793


What is meant by custom tags?

769


What is the purpose of @before annotation?

788