当前位置: 代码迷 >> HTML/CSS >> struts2 s:property标签展示html代码
  详细解决方案

struts2 s:property标签展示html代码

热度:125   发布时间:2012-09-01 09:33:02.0
struts2 s:property标签显示html代码

Struts2的s:property标签有escape这样一个属性,当把它设成false时,s:property的value就会被显示出来,达到和innerHTML一样的效果

<s:property value="content" escape="false" />

  相关解决方案