details.js中cookie的字符問題??
點開商品后報錯
?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
然后上網查是說cookie內容中不能包含逗號“,”,
我就將逗號“,”改成了“#”,但是還是會報錯
請問怎么解決?
2020-06-16
https://blog.csdn.net/MrTraum/article/details/42869251參考一下