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

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

1006


What do you mean by inner class and anonymous class?

1089


When do I need “struts.jar” on my classpath?

971


Describe the two types of formbeans.

1000


What is the purpose of form-beans tag in struct-config.xml?

911


What are the advantages of spring mvc over struts mvc?

924


How nested beans can be used in Struts applications?

996


What is dispatchaction?

1089


What is the difference between filters and interceptors ?

1151


Are interceptors and filters different?

1036


What are the aware interfaces in struts2?

1011


What is struts 2 framework in java?

1035


What are interceptors in struts 2?

1015


What is the purpose of @results annotation?

1286


Can a reducer dispatch an action?

945