File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To retrieve the value from properties file

 
Sakthi Kani
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi



The above line is not working. i donno how to do it.
Pls help.
Thanks in advance.
 
Choon-Chern Lim
Ranch Hand
Posts: 74
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get your property file to work in Struts, you have to first associate it with the struts-config.xml.

Also, use Struts' <html:form> tag instead of HTML's <form> tag, and use Struts' tags for the textfields too. Why? This allows your text field values to be automatically mapped to the associated form bean (if you assigned one to this action).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic