response设置content-type

根据后缀的不同设置,如html:response.setContentType("text/html; charset=utf-8");

详情:

点击打开链接

posted @ 2018-07-21 21:55  hirampeng  阅读(6822)  评论(0)    收藏  举报