L
Ladybug
Unregistered / Unconfirmed
GUEST, unregistred user!
[!]
test3.jsp主要部分:
<jsp:forward page="test4.jsp"/>
<jsparam name="name" value="hello"/>
<jsparam name="password" value="world"/>
test4.jsp主要部分:
<%
out.println("Name is "+ request.getParameter("name")+"<br>");
out.println("Password is "+ request.getParameter("password")+"<br>");
%>
测试test3.jsp时,返回结果是:
Name is null
Password is null
为什么值没有传递过去呢?
test3.jsp主要部分:
<jsp:forward page="test4.jsp"/>
<jsparam name="name" value="hello"/>
<jsparam name="password" value="world"/>
test4.jsp主要部分:
<%
out.println("Name is "+ request.getParameter("name")+"<br>");
out.println("Password is "+ request.getParameter("password")+"<br>");
%>
测试test3.jsp时,返回结果是:
Name is null
Password is null
为什么值没有传递过去呢?