I want to pass the values from the first JSP page to the second JSP page. The jump code in JavaScript is as follows
window.location.href= "Uppasswd.jsp?userpassword=${requestscope.result.userpassword}";
The second page uses a Java fragment to fetch the value but the El expression does not take
The Java snippet is as follows
<%string a=request.getparameter ("UserPassword"); %><%=a%>
The EL expression is as follows
${requestscope.userpassword}
You can't get any of the ${param.userpassword}2, you've got a day, please help me.
Answer
<%page add iselignored= "false"%> or do not recognize El expression
Add iselignored= "false" with ${param.userpassword} to take ${requestscope.userpassword} or not
The above is from the original http://zhidao.baidu.com/link?url=5mUiAmxg70YQA_ Ev3pkv1uqsojy5rvzkhigdj70ckv2cmbf-rvppj2afotjdnuu-5nrkbaolw_xn3w0ke9seva
Param is the value from the client, that is, the URL rewrite from the other pages to take values such as: www.crcmm.cn?id=123
${param.xxx}=request.getprameter ("XXX");
${xxx}=${requestscope.xxx}=request.getattribute ("XXX");
${name}==${requestscope.name}==request.getattribute ("name");
JSP page El takes no value, Java fragment can be taken to