Pankaj Gupta wrote:
Can anyone please suggest how can I access ApplicationResources.properties from my Action class. Specifically I want to read the labels for my LabelValueBean object from the application resources.
The validator framework has a utility class called Resources that can do that for you... this is what I do:
import org.apache.struts.validator.Resources; /* inside one of your Action-derived class' methods: */ String label = Resources.getMessage( request, "label.whatever" ); /* ... */ HTH - Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]