Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @urlvalidator annotation?

953


What is the use of resourcebundle.properties file in Struts Validation framework?

1004


What’s the difference between struts and turbine?

1112


What is the purpose of struct-config.xml in struct2?

934


How to convert struts to spring mvc?

942


What is http forward?

934


How we can install struts?

928


Explain the components of struts?

916


How is a lookup dispatch action created?

963


What is execute method in struts?

886


Explain struts?

975


Does apache struts run on windows?

939


Explain the difference between plain-validator and field-validator in struts?

898


What are the steps used to setup dispatch action?

978


Name some of the features of struts2?

982