如何在h:outputText中编写单引号和双引号 [英] How to write single and double quotes in h:outputText
本文介绍了如何在h:outputText中编写单引号和双引号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在h:outputText
的value属性中写单引号和双引号?
How can I write single and double quotes in the value attribute of h:outputText
?
推荐答案
这在标准语法JSP和XML视图技术中均应起作用:
This should work in both standard syntax JSPs and XML view technologies:
<h:outputText value="quote: " apostrophe: '"/>
这篇关于如何在h:outputText中编写单引号和双引号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文