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 struts validator framework?

994


What are the benefits of Interceptors in Struts2?

1179


What is filter dispatcher in struts?

914


What are result types in struts?

1000


What configuration changes are required to use resource files in Struts?

1034


in struts how to use hibernate with struts>

2224


What is package name in struts xml?

1008


Mark the differences between html tags and strut specific html tags.

973


What are the major differences between html tags and strut specific html tags?

935


What is the purpose of struts.xml in struct2?

1131


How to work with error tags?

964


What are Struts2 core components?

1007


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4509


What is the struts in java?

935


How many instances of servlet usually run in a struts application ?

1012