在页面上编码
encodeURI(encodeURI('${goodsName}'))
在Controller中再解码
goodsName=URLDecoder.decode(goodsName, "utf-8");
编码两次,解码一次
转载于:https://blog.51cto.com/2820354/805602
在页面上编码
encodeURI(encodeURI('${goodsName}'))
在Controller中再解码
goodsName=URLDecoder.decode(goodsName, "utf-8");
编码两次,解码一次
转载于:https://blog.51cto.com/2820354/805602