Topic: 一个jstl的问题

  Print this page

1.一个jstl的问题 Copy to clipboard
Posted by: artinas
Posted on: 2005-10-16 15:03

c:out不能输出标准html标记,比如
<c:set var="testt" value="<br>aaa<br>bbb"/>
<c:out value='${testt}'/>
它只会输出:
<br>aaa<br>bbb

请问要怎么解决?

2.Re:一个jstl的问题 [Re: artinas] Copy to clipboard
Posted by: bluepure
Posted on: 2005-10-17 09:46

<c:set var="testt" value="<br>aaa<br>bbb"/>

<c:out value='${testt}' escapeXml="false"/>


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923