RE: can't get messages from my action

2003-01-20 Thread Garth Ramakant Patil
urces(request); > > > -Original Message- > > From: Garth Ramakant Patil [mailto:[EMAIL PROTECTED]] > > Sent: Monday, January 20, 2003 2:56 PM > > To: [EMAIL PROTECTED] > > Subject: can't get messages from my action > > > > > > I'm trying t

can't get messages from my action

2003-01-20 Thread Garth Ramakant Patil
I'm trying to get a message from ApplicationResources.properties inside one of my action perform methods. Here's what I try to do: MessageResources messages = MessageResources.getMessageResources(Action.MESSAGES_KEY); String modules = messages.getMessage("client.newuser"); When I run it, modules

accessing messages from logic:equal

2003-01-17 Thread Garth Ramakant Patil
i'm trying to store configuration options in my ApplicationResources.properties file. is it possible to access them from a logic:equal tag as in the provided code snippet? i don't get an error, but it also isn't working properly. i'm using struts 1.0.2 on tomcat 4.1.18.

how to use ApplicationResources from the logic tag

2003-01-17 Thread Garth Ramakant Patil
hi, i'm trying to use a value set in my ApplicationResources.properties file to use in a logic:equal tag in my jsp. basically, i'm trying to store some configuration parameters in the ApplicationResources.properties file, but i can't figure out how to get them outside of bean:message. is there a di

How to access the current action mapping from the jsp

2003-01-16 Thread Garth Ramakant Patil
i'm trying to build a dynamic navigation widget in a header.jsp that will be included in all my display jsps. i have elected not to use tiles. in order to correctly render the navigation, i need to know what the current action forward is that is being executed. how can i access that from the jsp pa