一个方法是在保存Cookie之之前,先用URLEncode对他进行编码:URLEncoder.encoder(str);在取出Cookie的时候则用URLDecoder.decode(str)对其进行反编码。... [urlencode]