标签:html tostring exception https utf-8 void throws string span
package com.zjx.util; import java.io.PrintWriter; import javax.servlet.http.HttpServletResponse; public class ResponseUtil { public static void write(HttpServletResponse response,Object o)throws Exception{ response.setContentType("text/html;charset=utf-8"); PrintWriter out=response.getWriter(); out.println(o.toString()); out.flush(); out.close(); } }
标签:html tostring exception https utf-8 void throws string span
原文地址:https://www.cnblogs.com/duanwandao/p/9316080.html