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.
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 |
What are the components of struts?
Difference between ActionErrors and ActionMessage?
i have a log in web application .... i want restrict the user for particular no of users what is procedure to develop thus application
what is the current salary package in India for a java programmer who has 2 years experience
How to combine the struts with velocity template?
struts 1.3 features?
What is action support class in struts2?
Does apache struts run on windows?
Explain the difference between plain-validator and field-validator in struts?
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?
Why it called struts?