In the JSP, the value with the "percent%" is used to obtain the __JS with the Request.getparameter

Source: Internet
Author: User

So late, and did not eat dinner, I was so hungry I was writing code, and suddenly found me in the JSP if the parameter content contains%, such as the URL is:
url:= ' http://109.13.15.44:8080/sms_send2.do?corp_id= account name &corp_pwd= password &mobile=13344556677&msg_content = within 50% capacity ';
will report ' format error ', then I copied the URL in the program directly to the browser address bar, found that the same problem. Some can pass, some can't, really ghost, looked at the content, found that may be% of the problem, go online check, the answer is also very exotic,

The solution is to replace%, there is no language, well, there are two questions, one is not as long as there will be a% of this error, one is why% can, know it is still do not know why.

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.