Replacing a word with trademark in JSP

70 views Asked by At

I am displaying data from my oracle database onto my JSP page. Requirement is to locate “PEFC” text, remove PEFC and replace with: PEFC™

I am able to replace the word in JSTL but don't know how to put TM at the end. Here is what I have done so far which is not working

<c:out value="${fn:replace(pageScope.searchResultDisplay.productGroup.name,'PEFC','PEFC'+ &trade;)}" ></c:out>
1

There are 1 answers

1
Adeel On

I am able to resolve the issue by putting

escapeXml="false"

at the end.