Hello, This must be a simple one to answer to experienced Struts / JSP / taglib users. I am using the latest Struts (CVS HEAD) with Taglibs.
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"/> My JSP file contains: <html:errors> My Action class contains this: ActionErrors errors = new ActionErrors(); errors.add("username", new ActionError("amp.error.invalidLogin")); if (!errors.isEmpty()) { saveErrors(request, errors); return mapping.getInputForward(); // login.jsp } The AMPResources.properties file is in /WEB-INF in the WAR. Is the file named wrong? Why the en_US prefix? Thanks, Otis P.S. My problem is similar to this one: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg52074.html ________________________________________________ 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]