實現從servlet和jsp之間的跳轉

1.從servlet跳轉到jsp中 (1)轉發:RequestDispatcher.forward() request.getRequestDispatcher("****.jsp").forward(request, response); 它是在服務器端起做用的,當你的form提交至a.jsp,在a.jsp用到了forward()重定向至b.jsp,此時form提交的全部信息在 b.jsp均可以
相關文章
相關標籤/搜索