A.jsp 发送
<a herf="B.jsp?name=<%=name%>">传递到B页面</a>
B.jsp 接收
<%
String name=request.getParameter("name");
out.println("接收到:"+name);
%>
A.jsp 发送
<a herf="B.jsp?name=<%=name%>">传递到B页面</a>
B.jsp 接收
<%
String name=request.getParameter("name");
out.println("接收到:"+name);
%>
转载于:https://www.cnblogs.com/qiwu1314/p/6027020.html