Web jsp开发学习——实现页面跳转和传参

    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
        /*
         * 不带状态的跳转:response.sendRedirext("index.jsp")
         * 带状态的页面跳转:RequestDispatcher.forward(request,response)
         */        

    }
原文地址:https://www.cnblogs.com/caiyishuai/p/10688317.html