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...


Hi Friends, am new to struts.I read that " you can store
variables in xml file(properties file) and for future
enhancements we just call properties file . Now i want to
implement this , where can i call properties file to
enhance my application. My question is where this properties
file will be called.



Hi Friends, am new to struts.I read that " you can store variables in xml file(properties file..

Answer / m gangadhar

hi,
use properties file where ever u want it but my suggetion is
use that in service layer. by calling Properties class
methods. if u r testing this app in local means Tomcat place
this properties xml file in parallel to Source directory,
else ur deployed ur application in app servers plz keep
this file in WEB-INF folder means parallel to web.xml.
i hope this ll give u some clarity. if any doubts reply to
me ll give u details.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Struts Interview Questions

how to connect from struts to database through hibernet and where u can modify the class

0 Answers   Polaris,


What is the purpose of @requiredstringvalidator?

0 Answers  


What is apache struts cve 2017 5638?

0 Answers  


what are the type of forward class in Struts?

5 Answers   Wipro,


What are the action classes in struts?

0 Answers  


What are interceptors in struts 2?

0 Answers  


How to use dispatchaction?

0 Answers  


What is the differnce between 2-tier architecture and 3- tier architecture in java?

3 Answers  


Where can I get help with struts?

0 Answers  


What is the struts in java?

0 Answers  


How to explain Software Bank Loan descriptions

0 Answers   Kekran Mekran, Wipro,


What do you mean by struts.dev mode?

0 Answers  


Categories