cookie中不能有空格
做cookie的demo时,加入时间戳new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");这里报了个错,如下java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie value报错中说一个无效字符[32]在cookie中,32在ASCII中时空格,这里是说cookie中不能有空格.记录一下...