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

Define struts?

1094


What are the two different types of validations that the validator framework supports?

1011


What does it cost to replace struts?

1024


Why do we use struts?

1213


What is the difference between shocks and struts?

1007


Can we use struts and spring together?

1044


Whats the difference between the default namespace and the root namespace?

1028


What is the purpose of @conversion?

1210


Explain how can we upload files in struts2 application?

1111


What is the purpose of @results?

1047


How to combine the struts with velocity template?

997


Who wrote struts?

1025


Where can I get a copy of struts?

999


How can forward action be used to restrict a strut application to mvc?

1025


What are the important methods of actionform?

1143