1.jsp页面中有参数a=a;b=b;c=c;d=d;四个,
如何写语句建立超链接到2.jsp,并在2.jsp中获取a,b,c,d 1.jsp页面的超链接如下:
<a href="2.jsp?a=a&b=b&c=c&d=d">超链接</a>
2.jsp页面这样获取a,b,c,d四个参数的值,如下:
<% String a = request.getParameter("a").toString(); String b = request.getParameter("b").toString(); String c = request.getParameter("c").toString(); String d = request.getParameter("d").toString();%>