H
huisan.wang
Hi all,
I got a prblem of JSP and this is an example:
<div id="example>
#{exampleBean.exampleHTML}
</div>
exampleHTML is something I like to show on the page dynamicly.
If exampleHTML = "example", it works fine.
However, if exampleHTML = "<strong>example</strong>", the code just
show the whole thing on the page like""<strong>example</strong>" but
not render it as a stronger "example".
How can I handle this problem? I can't use hutputText or something
like that because this <div> is interacting with another plugin.
Any help will be appreciated.
Thanks
Huisan
I got a prblem of JSP and this is an example:
<div id="example>
#{exampleBean.exampleHTML}
</div>
exampleHTML is something I like to show on the page dynamicly.
If exampleHTML = "example", it works fine.
However, if exampleHTML = "<strong>example</strong>", the code just
show the whole thing on the page like""<strong>example</strong>" but
not render it as a stronger "example".
How can I handle this problem? I can't use hutputText or something
like that because this <div> is interacting with another plugin.
Any help will be appreciated.
Thanks
Huisan