jsp request 传递对象和其它数据 request.setattribute request.getattribute

<%

String aa="asdfasfd";
request.setAttribute("aa",aa);
/*
out.println(request.getAttribute("aa"));
request.getRequestDispatcher("a.jsp").forward(request,response);
*/
%>


你可能感兴趣的:(java技术)