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

What are the components of struts?

0 Answers  


Difference between ActionErrors and ActionMessage?

1 Answers   iGate,


i have a log in web application .... i want restrict the user for particular no of users what is procedure to develop thus application

2 Answers  


what is the current salary package in India for a java programmer who has 2 years experience

7 Answers  


How to combine the struts with velocity template?

0 Answers  






struts 1.3 features?

1 Answers   Integra, Zensar,


What is action support class in struts2?

0 Answers  


Does apache struts run on windows?

0 Answers  


Explain the difference between plain-validator and field-validator in struts?

0 Answers  


tell me struts flow ?

5 Answers   BA Continnum Solutions, Exira, Fidelity, iGate,


we have 7 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. when we starting providing data in jsp pages when we are at 3rd jsp at that time sessions timeout where the data will be store which we r provide in last two jsps?

2 Answers  


Why it called struts?

0 Answers  


Categories