Processing of passing Chinese parameters by URL in jsp, and passing Chinese by jspurl
EncodeURI (Chinese) is used in the url of the page to encode Chinese characters, and URLDecoder is used in the java program of the server. decode (Chinese, "UTF-8") can be decoded;
If the url needs to pass + ,#,? EncodeURIComponent (Chinese) can be used as special symbols. The server decoding method is the same as that of encodeURI.
How to solve the problem of garbled Chinese parameters passed through URLs in jsp
We recommend that you do not use this method as much as possible. It is best to use form submission to save trouble and do not consider coding.
Question about passing jsp url parameters
What does it mean? Not understood
Four groups of usernames and passwords are set ???????
And your URL is too long.
UserLogin! LoginWithoutCode. action is too long
TxtLoginName = hlteacher & txtPassword = 999999
TxtLoginName
TxtPassword
There is no need to use such a long time.
Login. action? Uname = *** & pwd = 123
Login. action? U = *** & p = 123