RE: How do you access an application.properties value directly fr om within a class?

2003-07-15 Thread Raible, Matt
an application.properties value directly fr om within a class? If you're just looking for the values, grab it as a resource bundle. Here's how I grab it in a Business Delegate: // Get the application's messages resources ResourceBundle resources = ResourceBundle.getBundle(ApplicationResources

RE: How do you access an application.properties value directly fr om within a class?

2003-07-15 Thread Mark Galbreath
Nice, clean, elegant solution - thanks a lot, Matt! -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 12:54 PM To: 'Struts Users Mailing List' Subject: RE: How do you access an application.properties value directly fr om within a class? I

RE: How do you access an application.properties value directly fr om within a class?

2003-07-15 Thread Chen, Gin
PROTECTED] Sent: Tuesday, July 15, 2003 2:53 PM To: 'Struts Users Mailing List' Subject: RE: How do you access an application.properties value directly fr om within a class? Or how about an ugly way? ;-) %@ page import=org.apache.struts.util.MessageResources