发信人: windgrass()
整理人: hht(1999-03-19 12:55:11), 站内信件
|
Servlet 不显汉字有两种解决方法: 1. 把out.getPrinter();改为 res.setContentType("text/plain; charset=GB2312"); PrintWriter out = res.getWriter(); 2. 把out.getPrinter();改为 new PrintWriter (response.getOutputStream()); 原理是什么,小弟也不了了,哪位大虾可解释一下?
-- ※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.103.148.115]
|
|