我将这段java代码存储在数据库(mysql)中作为varchar。
<pre>
System.out.println("Another method");
</pre>
使用struts2标记
在jsp中显示它<s:property value="#ques.QDesc" escapeHtml="false"/>
但显示如下
System.out.println("Another method?");
双引号内有问号。我应该如何存储一段代码才能在网页上正确显示?
感谢