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

Can you give an overview of how a struts application flows?

918


What's the purpose of execute method of action class?

923


What is struts in j2ee?

898


Explain about token feature in struts?

936


What is the use of jsonvalidation in struts?

938


What are the features of struts?

980


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1015


What is the difference between forwardaction and includeaction?

1103


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

1010


What configuration changes are required to use Tiles in Struts?

955


How struts2 supports internationalization?

1080


Explain how to work with error tags?

979


Which components are available using actioncontext map?

1137


Describe the basic steps used to create a tiles application?

1035


What is struts? Explain

902