Hello,
please, I can't find any solution how to read message from resource bundle to
variable in JSP page.
First I call the action and then display results in JSP, tags <s:text /> and
form tags reads resource bundle perfectly, but I don't know how to do something
like this (in Struts1) now in Struts2:
<bean:define id="messages" name="<%= org.apache.struts.Globals.MESSAGES_KEY %>"
type="org.apache.struts.util.MessageResources"/>
<%
String message = messages.getMessage(...);
%>
How can I access message resources in JSP without using struts tags?
Thanks for your help.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]