当cookie值中含有符号时的处理

  • 通过URLEncoder.encode(String s,"编码格式")对URL进行编码。
  • 通过URLDecoder.decode(String s,"编码格式")对URL进行解码。
posted @ 2017-04-04 15:47  PPPeanut  阅读(477)  评论(0编辑  收藏  举报