" /> " /> "/>

Tring to display a checkmark("✓") in a html report from a jsp page

144 Views Asked by At

I am trying to display checkmark in a html page from jsp file. But it is displaying as '?'

I added '<%@ page contentType="text/html; charset=UTF-8" %>' to jsp page, but no luck,

Action class:

char checkMark = '\u2713';
b.setString8(String.valueOf(checkMark));

JSP page:

<td align="center"> <bean:write name="status" property="string8" /> </td>

And it is displayed as

enter image description here

Can you please help me?

0

There are 0 best solutions below