corder_raine 2016-09-29 08:19 采纳率: 50%
浏览 4721
已采纳

response.sendRedirect("/index.html");是什么意思

response.sendRedirect(request.getContextPath()+"/index.html");是什么意思

  • 写回答

4条回答 默认 最新

  • 关注

    request.getContextPath()是获取系统路径。就是重定向到系统路径下的index.html页面

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?