how do you know it was not a correct answer if you are still asking the
question?
-Original Message-
From: Alex Birch [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:34 AM
To: [EMAIL PROTECTED]
Subject: Action.getResources(request) not working
Hi,
I already asked this question earlier but I didn't get a correct answer...
I have 1 ApplicationResources.properties file which I can happily access in
my jsp page using the
bean:message key=somekey/
but in any of my Actions when I try to go:
MessageResources messages = getResources(request);
or,
MessageResources messages = getResources(request, ApplicationResources);
or,
MessageResources messages = getResources(request, ApplicationResources);
then getResources(...) returns null...
I can use getResources() - the deprecated method but I don't like using a
deprecated method when
there's no reason why the other methods shouldn't work
am I doing something stupid and totally wrong? I don't see why
getResources(request) doesn't work
in my web.xml I have the usual:
init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param
There's nothing in my struts-config.xml file relating to the resources
thanks again in advance,
Alex
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
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]