details.js中cookie的字符問(wèn)題??
點(diǎn)開商品后報(bào)錯(cuò)
?Servlet.service() for servlet [jsp] in context with path [/ServletCartDemo] threw exception [java.lang.IllegalArgumentException: An invalid character [44] was present in the Cookie value] with root cause
java.lang.IllegalArgumentException: An invalid character [44] was present in the Cookie value
然后上網(wǎng)查是說(shuō)cookie內(nèi)容中不能包含逗號(hào)“,”,
我就將逗號(hào)“,”改成了“#”,但是還是會(huì)報(bào)錯(cuò)
請(qǐng)問(wèn)怎么解決?
2020-06-16
https://blog.csdn.net/MrTraum/article/details/42869251參考一下