File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 Load property file on startup

 
Pravin Sundar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am working on a web-application that runs on JBOSS 5.1. The application is built on STRUTS2 framework & it has its own application properties file (with WS end point urls, server ports etc). I would like to load this property file in JBOSS during startup so that i can access it in my application using JNDI. I googled a bit & came to know about properties-service.xml. Is it a good practice or is there other better solutions?
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this post
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic