Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Spring JSP で html 文字をエスケープ解除したい。
<c:out value="${fn:***unescapeHtml***(item.name)}" />
unescapeHtml または同等のものはありますか?
同じことを行う jsp タグが見つからなかったので、javascript メソッドに頼らなければなりませんでした。そもそもJavaScriptを使用してエスケープしたので、それは私にとって理にかなっています。
これをページの $.ready() に入れました。
$.find(xxxx) { $(this).text((unescape($(this).text()))); }