當(dāng)代碼為一行代碼時(shí),你就可以使用<code>標(biāo)簽了 在文章中一般如果要插入多行代碼時(shí)不能使用<code>標(biāo)簽了。

x兔子
2014-06-19
1 回答
舉報(bào)
0/150
提交
取消
2014-06-20
多行代碼就可以這樣寫: <code>this.getResponse().setContentType( "text/html; charset=utf-8" );</code> <code>this.getResponse().setHeader( "Cache-Control", "no-cache" );</code> <code>this.getResponse().getWriter().write( src );</code>