禁用Struts将HTML标记转换为实体 [英] Disable Struts converting HTML tags into entities

查看:149
本文介绍了禁用Struts将HTML标记转换为实体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在使用Struts 1.2并且我安装了TinyMCE。问题是struts将所有HTML标记转换为实体。如何禁用或配置此选项以仅允许选定的标签?

Hi I'm using Struts 1.2 and I installed TinyMCE. The problem is that struts is converting all HTML tags into entities. How do I disable or configure this to allow only selected tags?

推荐答案

使用filter参数( taglib )。

Use the filter parameter (taglib).

<bean:write name="someField" filter="false"/>

这篇关于禁用Struts将HTML标记转换为实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆