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 is the purpose of struct-config.xml in struct2?
If we close the browser,when the specific user session is active.Again if we open browse how to retrive it same user??what code i have to da???
How we can install struts?
i have list of values(e.g 100). using logic:iterate, how can i print the multiples of 5th element? how the logic:iterate will understand the multiples of 5.
What do you mean by dynaactionform?
How can we display validation errors on jsp page?
drawback of Validation Framework where and how to write the connection pool object in the programe how to debug the programe and application in struts without using eclips
What are action classes in struts?
What are the components of struts framework?
What is the purpose of execute() method?
What do you mean by actionservlet?
Hi Friends, why struts introduced in to web application. Plz dont send any links . Need main reason for implementing struts. Thanks Prakash