bean:parameter标记可以获得表单或URL提交过来的数据
提交页面:
< html:link href = "/StrutsTagDemo/parameter_2.jsp?coolID=1127" >
不使用表单提交数据
</ html:link >
接收页面:
< bean:parameter id = "coolID" name = "coolID" />
我接受到的 coolID : < bean:write name = "coolID" />
提交页面:
< html:link href = "/StrutsTagDemo/parameter_2.jsp?coolID=1127" >
不使用表单提交数据
</ html:link >
接收页面:
< bean:parameter id = "coolID" name = "coolID" />
我接受到的 coolID : < bean:write name = "coolID" />