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 is the purpose of @key?

988


How duplicate form submission can be controlled in struts?

1075


How to build struts application in eclipse?

939


Can you explain aware interfaces in struts2?

983


What is struts2 namespace?

870


What steps are required to for an application migration from Struts1 to Struts2?

990


List the important attribute and elements of action mapping under struts.

947


How to use forward action to restrict a strut application to mvc?

1002


What are the ways in which duplicate form submission can occur?

888


What is apache struts cve 2017 5638?

930


Why are springs better than struts?

1063


What do you mean by actionform?

934


What is struts? Explain

902


What is declarative exception handling in struts?

954


What configuration changes are required to use resource files in Struts?

983