This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello I need to store the path to a file and retrieve it in a Struts Action class. I assume I cant use a messageresource, but I can retrieve it from a servlet with <context><param-name>...</context> and getServletContext. getInitParmameter(""). But cant see what different method to use to do it in an Action class. What is the correct approach and syntax? Thank you.
simple external properties file (resource bundle), the simple and classic way of getting a fixed environment value. this makes it independent of struts thus you can access it from anywhere in your app.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>