if (!rightAuth(request, DiFangConst.DFREPORT)){
response.setContentType("text/html;charset=GBK");
PrintWriter out=response.getWriter();
out.print("<script>alert('"+this.getRightAuthMsg(request)+"');window.history.go(-1);</script>");
out.close();
response.setContentType("text/html;charset=GBK");
PrintWriter out=response.getWriter();
out.print("<script>alert('"+this.getRightAuthMsg(request)+"');window.history.go(-1);</script>");
out.close();
}
Spring MVC 从页面获取数据乱码:
public ResultInfo ajaxToSingleEdit(HttpServletRequest request,Integer asset_id,
String editType,String reason,String oldValue,String newValue,String newValue2) throws Exception{
oldValue=URLDecoder.decode(oldValue,"utf-8");
}
Java并发编程:深入剖析ThreadLocal
http://www.cnblogs.com/dolphin0520/p/3920407.html