servlet的跳转

 

首先要有RequestDispatcher对象(由request.getRequestDispatcher(根目录)注意不用谢后缀名java

RequestDispatcher dispatcher=request.getRequestDispatcher("/servlet/LifeCycleServlet");
dispatcher.forward(request,response);

posted on   Kooing  阅读(124)  评论(0编辑  收藏  举报

努力加载评论中...

导航

点击右上角即可分享
微信分享提示