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?

Answers were Sorted based on User's Feedback



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

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

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

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

More Struts Interview Questions

Can a reducer dispatch an action?

0 Answers  


How Struts internally works? For Example if we type the URL "/login.do" how the process goes internaly? How the struts-config.xml loaded?

1 Answers   Allied Digital,


what is the difference between page and pageContext implicit variables

2 Answers   Yash Technologies,


What is the use of execAndWait interceptor?

0 Answers  


What is the significance of logic tags in Struts?

0 Answers  


What is the difference between struts1 and struts2?

0 Answers  


What is http redirect?

0 Answers  


what is mean by custom tag?

5 Answers   Wipro,


when we enter the data in the form how it is stored in formbean class setter and getter methods?

1 Answers   TCS, Wipro,


What is token used for?

0 Answers  


Which configuration file is used for storing jsp configuration information in struts?

0 Answers  


Why are struts tightly coupled?

0 Answers  


Categories