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

how to debug struts project in netbean ?

2365


How properties of a form are validated in Struts?

1056


What is the purpose of execute method of action class?

987


What are Struts2 core components?

1008


Which technologies can be used at view layer in struts?

1089


Explain about the tag?

1109


State the procedure for using forward attribute of link tag’s.

958


What do you mean by actionmapping?

968


Explain the components of struts?

976


What is the purpose of struts.xml in struct2?

1132


Where should struts xml be placed?

928


What is action servlet in struts?

976


What is http forward?

982


in struts how to use hibernate with struts>

2224


What are different Struts2 tags? How can we use them?

950