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

Hi i am murali.i need a excellent answer for the question Tell me about project and project flow ? i mean it is use full to any project,it is on STRUTS

2 Answers  


What are the various struts tag libraries?

0 Answers  


How does one create an action in struts 2?

0 Answers  


how handle when client send multiple request at atime for single servlet

5 Answers   Aditya Birla, IBM,


What is controller in struts2?

0 Answers  


What do you mean by tiles in struts?

0 Answers  


Can we have more than one struts-config.xml file for a single struts application?

0 Answers  


How to forward from Array List to Jsp in Struts ActionServlet class?

8 Answers  


What is the purpose of @key?

0 Answers  


How to depoly your struts application in JBOSS

1 Answers   HP, NuWare, Satyam, Wipro,


How Struts will follow the MVC?

6 Answers   HCL,


What kind of mvc is struts 2?

0 Answers  


Categories