标签: xhtml
我有这段代码:
if (comparingList.size()<3) { return "text1" + "text2" + "text3 "; }
我想以此样式在页面*.xhtml上显示此文字:
*.xhtml
text1 text2 text3
我该怎么做?
答案 0 :(得分:0)
很简单!您必须更改此return "text1" + "text2" + "text3 "; 这个return "text1" + "text2<br/>" + "text3 ";
return "text1" + "text2" + "text3 ";
return "text1" + "text2<br/>" + "text3 ";