1.服务器内部的跳转,可以将需要的参数放到request里,带值跳转
List<Object[]> list = comm.findSchools();
request.setAttribute("schoolList", list);
request.getRequestDispatcher(Constant.bindroom_jsp).forward(request, response);
2.可以跳转到其他服务器上,通过url+servlet地址,加上参数就可以将参数传过去
response.sendRedirect(sAccessUrl + "SkipToNavigationServlet?roomId=" + sRoomId + "&openid=" + openid);