Hi,
I have a JSR168 portlet that uses portlet preferences to store a HTML string.
When I want to display this value in my JSP, I'm calling:
The value of breadcrumbText is: You are here: <a href="/index.html">Home</a> > A to Z of Services
And what I would like it to print out in my JSP as:
You are here: Home > A to Z of Services
If I create another String:
Then output this as:
Then the tect is bold and underlined as expected.
Is there a way I can get my breadcrumbText String to be output in the same was as htmlTest?
Thanks
I have a JSR168 portlet that uses portlet preferences to store a HTML string.
When I want to display this value in my JSP, I'm calling:
Code:
<%
String breadcrumbText = (String)preferences.getValue(FCC_GenericCategoryPortlet.EDIT_DEFAULTS_KEY7, "");
%>
Code:
<%=breadcrumbText %>
The value of breadcrumbText is: You are here: <a href="/index.html">Home</a> > A to Z of Services
And what I would like it to print out in my JSP as:
You are here: Home > A to Z of Services
If I create another String:
Code:
String htmlTest = "<b><u>Bold and underlined</u></b>";
Then output this as:
Code:
<%=htmlTest %>
Then the tect is bold and underlined as expected.
Is there a way I can get my breadcrumbText String to be output in the same was as htmlTest?
Thanks