Hi
withbean:message key=card.title/ you can read messages from your properties file
btw, If I get nothing back in JSP it's because I forget the taglibs...
%@ taglib uri=/tags/struts-html prefix=html %
%@ taglib uri=/tags/struts-bean prefix=bean %
*** REPLY SEPARATOR ***
On
To: Struts Users Mailing List
Subject: RE: [other] error tag
Hi Noel,
Thanks for that. Since that post, I have opted for constructing an
ActionMessages object and populating it with ActionMessage (s). This being
because I hear ActionError/s are deprecated as of Struts 1.2.
I have set up
Hi Jerald,
The single-string ActionError class constructor that you are invoking
interprets the parameter passed to it as a key of a message string defined
in your Application.properties file (this file is usually placed under the
classes/resources directory).
HTH
Noel
-Original
Hi Noel,
Thanks for that. Since that post, I have opted for constructing an ActionMessages
object and populating it with ActionMessage (s). This being because I hear
ActionError/s are deprecated as of Struts 1.2.
I have set up the Application.properties file under
it just occurrred to me, perhaps it may be due to the JSP:
html:errors /
as ActionMessages are not soley used for error handling? If this is the case, what
error tag will extract the error labels defined in my Application.properties?
thanks again
G
-
5 matches
Mail list logo