You can get the ApplicationResource by Action.getResources(request) from
within the Action class.

Cheers,
Krishna

-----Original Message-----
From: Roman Rytov [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 2:08 PM
To: Struts Users Mailing List
Subject: Getting application resource from java source



How to get a value of an ApplicationResource's entity from java code
(not from JSP by a tag)? I guess a function for such an action should
acceps locale parameter also. Btw, resource files are being loaded only
once for the whole application (per locale, of course) or for every user
session?

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to