Tom Pop wrote:
I can get localised messages in JSP like this:

<s:text name="key" />

How to do the same and assign the text to variable like this:

<%
    String text = getText("key");
%>

So - how to get message from resource bundle in JSP java code?
I can then put it for example to ALT attribute of image tag.

<img src="..." alt="<s:text name="key"/>">

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to