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

List some bundled validators?

984


What is the purpose of action-mappings tag in struct-config.xml?

954


Can you explain struts validator framework?

998


How many struts config file can be created in struts?

886


What are action errors and error and what are the consequences they impose?

1002


Why are springs better than struts?

1134


How struts 2 validation works?

1065


What is the difference between validation.xml and validator-rules.xml files in struts?

906


What is the purpose of form-beans tag in struct-config.xml?

902


What is the different actions available in struts?

1005


What is struts.devmode?

1038


How does struts work?

955


Why use spring, if you are already using struts?

987


What are the advantages of spring mvc over struts mvc?

916


Are struts thread safe?

960