
web server
xiewenbo
互联网广告行业呆过几年,旅游公司呆过几年,对机器学习,自然语言处理,图像识别,个性化推荐 有兴趣
展开
-
让tomcat支持中文
让tomcat支持中文,主要有下面3个问题,中文url,,get中文参数(不管是参数值还是内容)和post中文参数(不管是参数值还是内容) post最简单,代码里面加一句这个就可以 request.setCharacterEncoding(“UTF-8″); 中文url,比如http://www.hetaoblog.com/页面/1.html,这个我测试不需要特别处理,默认就支持 get中...原创 2012-03-13 17:13:58 · 230 阅读 · 0 评论 -
response Content-Type
response.setContentType() ; * = application/octet-stream .001 = application/x-001 .301 = application/x-301 .323 = text/h323 .906 = application/x-906 .907 = drawing/907 .a11 = application/...原创 2012-03-14 12:51:24 · 132 阅读 · 0 评论