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...

can we change the location of struts-config.xml file?

Answer Posted / rams

yes, we can change strts config.xml file location .
If we change the location of strtus config.xml file , we need to configure the file location information inside web.xml.

eg: <web-app>
<servlet>
.
.
.
<init-param>
<! we need to place strts-config.xml file here ..>
<param-name> config </param-name>
<param-value> /path of file that we need to configure /strtus-config.xml </param-value>
</init-param>


</servlet>
</web-app>

Is This Answer Correct ?    30 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the difference between struts and turbine? What’s the difference between struts and espresso?

1044


What are result types in struts?

1053


What is the purpose of @customvalidator annotation?

1037


What is the role of action class in struts?

1066


What is the purpose of @element?

1064


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

1061


What validate() and reset() method does ?

1180


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

1058


What is the purpose of execute() method?

1120


In struts.xml, what does the attribute "method" stands for in the "action" tag?

999


Explain the core end goal while using java struts?

992


What is the different actions available in struts?

1065


Explain about how requests from the client are sent?

1084


What is the purpose of @results annotation?

1377


How can you create your custom interceptor in struts 2?

997