HttpServletRequest gets http request parameters problem

Today, the request path is configured with springMVC, and the following error is reported after the front end sends an HTTP request:

No modifications are allowed to a locked ParameterMap: means that modifications to locked parameters are not allowed. The background parameters are obtained through request.getParameterMap(), and the error is reported when the obtained map is directly processed. After tangled attempts, I finally get the parameters one by one through request.getParameter() so that this error is not reported. As for why it is locked, I think it is processed in the background in order to prevent the message from being tampered with when the request is sent. Specifically how to operate, what is the operating mechanism, and I hope everyone can give advice.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324762388&siteId=291194637
Recommended