提问:应用中添加用户成员,数据出不来,前端有报错,
报错:
The server cannot or will not process the request due to something that is perceived to be a client error
(e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
意思是服务器不处理来自客户端的错误请求,一般是请求语法,无效的请求信息等错误原因。
或者后台日志报错:
解决办法:
修改tomcat配置文件server.xml 允许请求中包含{ }[ ] 等字符
路径:/opt/Tomcat/servers/qljfwapp_server1/conf
vi server.xml
增加relaxedQueryChars="[]|{}^\`"&t;>" 或 增加relaxedQueryChars="[]|{}^\"