Other pages are available, but if you search on the bulletin board and jump on the screen,
It's not coming out (from Eclipse and Explo).
You can search only with special characters or English, but you can't search with Korean.
But everything comes out in Chrome...
What's wrong with this?
Is there a way to get everyone out?
web css jsp google-chrome explorer
The important point is "not just to solve the problem, but to know why it doesn't come out."
You returned 400 as an HTTP status value, as it says HTTP 400 on the right side of the browser.
Code 400 occurs when an invalid request is sent.
Then you have to know what's wrong.
The method of sending requests from HTTP is largely GET/POST.
Among them, the method used by the questioner is the GET method. A QUERY string was sent to the URL together.
However, according to the HTTP specification, the URL is supposed to be sent only with ASCII values, but the questioner sent Korean to the query string as word=signature, and received http response status code 400 as a result of sending a request that was out of spec.
Now that we know the cause, we can solve it.
It's simple. You can make Korean into ascii form and ask questions.
You can do it as below.
Stringurl = "Address~";
String encodeURL = URLEncoder.encode(String url, "UTF-8");
If it's bothersome
The signature is %EC%84%9C%EB%AA%85.
Invoke the value %EC%84%9C%EB%AA%85 in the address instead of 'signature'.
© 2024 OneMinuteCode. All rights reserved.