先在jsp编码,再在action中解码。

在jsp中:

编码:var temp=encodeURI(encodeURI("中文"));

在action中:

完成解码:URLDecoder.decode(temp,UTF-8")。

相关文章:

  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-02-11
  • 2022-01-09
  • 2021-06-10
猜你喜欢
  • 2022-12-23
  • 2022-03-10
  • 2021-12-16
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2021-08-11
相关资源
相似解决方案