最近小弟学习struts,用struts做了一个程序:显示数据时,格式有问题,请叫大侠
<bean:write name="newsForm" property="content" filter="false"/>
如果页面 filter="true"
该页:
http://www.cnpoint.com/ShowDocument.do?id=45
就不能显示:应为content 含有 html代码,被过滤了,
但是 content 是文本不含有 html 代码,就显示正常;了
请问: 如何设置: http://www.cnpoint.com/ShowDocument.do?id=45 页面才显示正常啊