Bingo! Thanks. Otis
---- On Tue, 4 Feb 2003, Karr, David ([EMAIL PROTECTED]) wrote: > > -----Original Message----- > > From: otisg [mailto:[EMAIL PROTECTED]] > > > > I am trying to make use of ActionError(s) > > and messages defined in resource files, but > > instead of an appropriate error message I > > get something like > > "???en_US.amp.error.invalidLogin???" > > I know why I get the resource key instead of > > "", but I shouldn't be getting the resource > > key - I want to get the resource value text. > > > > My resources file is called > > AMPResources.properties and is defined in > > Struts config as: > > > > <message-resources null="false" > > parameter="AMPResources"/> > > > > The AMPResources.properties file is in > > /WEB-INF in the WAR. > > > > Is the file named wrong? Why the en_US prefix? > > No, it's not named wrong, it's just in the wrong place. It needs to be > in "WEB-INF/classes". > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]