JSP page El takes no value, Java fragment can be taken to

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.