问题
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?
回答1:
Use the filter parameter (taglib).
<bean:write name="someField" filter="false"/>
回答2:
Thanks, I was looking for this but in Struts 2, and this helped, it's similar:
<s:property value="variable" escape="false" />
来源:https://stackoverflow.com/questions/716922/disable-struts-converting-html-tags-into-entities