I want to show the registered trademark (ie 'R' inside the circle) on the jsp page, I found the code ® html I can display it, but in my case I want to display it using an iterator in jsp, which (iterator) extracts data from the database into its action class and maps it to jsp (I saved this symbol in the database table), since we do it is always for this symbol, I inserted the same html-code ( ® ) in the database, but its display ® the code itself in jsp. Please let me know if you have any ideas.
I use: <% @page contentType = "text / html; charset = UTF-8"%> for jsp. Since I did a Google search to find this solution and found something depending on the above things, but this is already correct (as far as I know).
The following is an example jsp code:
<s:iterator value="options" status="rowstatus"> <tr> <td> <s:property value="name"/> </td> <td class="clsQuestions2"><s:property value="value"/></td> </tr> </s:iterator>
if I put the code if ® then print it ® himself, then he displays the registered trademark, but I do not want this. for example, in the lower case, its symbol display:
<s:if test="name == 'virtuwell®'">virtuwell®</s:if>
source share