Hi Franz,

you can use tag <s:property value="getText(title)" /> for text translation (where "title" is name of your variable).


Best regards,

Michal

Franz Wong wrote on 9.8.2010 5:14:
Hi group,

In the jsp page, I have a page scope variable "title". This variable stores
the key of the resource bundle. I can print the value by<%= title %>.
However, I am not able to use it with<s:text/>.

I have tried<s:text name="${title}"/>  or<s:text name="<%= title %>"/>. But
both of them do not work.

Thanks.
Franz

Reply via email to