zoukankan      html  css  js  c++  java
  • 后台js弹提示

    StringBuffer sb=new StringBuffer();

                             try{

                                    sb.append("<script> location.href="member_index.html";</script>");

                             }catch(RuntimeException e){

                                    this.showErrorJson(e.getMessage());

                             }

                            

                             HttpServletResponse response  = ThreadContextHolder.getHttpResponse();

                             response.setCharacterEncoding("utf-8");

                             response.setHeader("Cache-Control", "no-cache");

                             response.setContentType("text/html; charset=utf-8");

                             try{

                                    PrintWriter pw=response.getWriter();

                                    pw.print(sb.toString());

                             }catch (Exception e) {

                                    // TODO: handle exception

                                }

  • 相关阅读:
    学指令 emacs篇
    c 排序 总结
    C# WinForm源码下载
    PetShop下载
    Visual Studio常用技巧
    人事信息管理系统(PMS)
    css实现细表格原理
    GridView导出Excel/Word
    dotnet程序员装机必备工具
    容器练习一
  • 原文地址:https://www.cnblogs.com/chenweida/p/6145801.html
Copyright © 2011-2022 走看看