alt="%{getText('key')}"
____________________________________________
____________________________________________
----- Message d'origine ----
De : Tom Pop <[email protected]>
À : Struts Users Mailing List <[email protected]>
Envoyé le : Mardi, 27 Janvier 2009, 17h26mn 25s
Objet : struts2: resource bundle messages
Hello,
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.
Thanks.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]