I don't know how to escape 'in the java properties file. I am using struts2 and getText functions to populate i18n and text tags.
For example, I use: config.users.title = taula d'usuaris ---> config.users.title = taula d \ 'usuaris
But in my JSP I get: taula dusuaris.
I use this to display text on my JSP:
<label for="title"><s:text name="config.users.title" />:</label>
Also I sometimes use:
<s:select id="categories" name="categories" headerKey=""
headerValue="%{getText('map.categories.all')}"
list="categories" listKey="id" listValue="name"/>
What mistake?
Thank!
source
share