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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / noname

Yes we can change but we have to include its path in
web.xml file under WEB-INF folder

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More Struts Interview Questions

What are Struts properties?

2 Answers   VI eTrans,


Why was reload removed from struts (since 1.1)?

0 Answers  


what are the actions in struts?

10 Answers   Nihilent, Wipro,


How data transfered from one formbean to another formbean?

4 Answers  


What is the purpose of @stringlengthfieldvalidator annotation?

0 Answers  


Explain the difference between jakarta struts and apache struts?

0 Answers  


What is the front controller in struts2?

0 Answers  


In how many ways duplicate form submission can occurs?

0 Answers  


What does it cost to replace struts?

0 Answers  


Are interceptors thread safe?

0 Answers  


how does request processor relates to action mapping?

0 Answers  


For a single Struts application, can we have multiple struts-config.xml files?

0 Answers  


Categories