有一getWriter的方法,返回可以像客户端输出字符的一个对象(PrintWriter)一般的用法如下:
response.setCharacterEncoding(“UTF-8”);(设置编码,可以将输入字符置为字符串类型)
PrintWriter pw=response.getWiter();
pw.print(ss);
pw.colse();
—-2008/11/11
Tags:
jsp,
response
Related posts
Filed under: 技术整理 —
alonealive @
11:16
No Comments Now!
Be the first to comment on this entry.