from表单上传文件,路径跳转后,又不能转发回来。

本人的一个解决办法是。返回一段html代码,浏览器解析后后退一步,回到原来的页面并刷新。

 return "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/></head><body onload='JavaScript:history.go(-1)'></body></html>";

相关文章:

  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-01-06
猜你喜欢
  • 2021-10-10
  • 2022-12-23
  • 2021-04-17
  • 2021-04-26
  • 2022-12-23
  • 2021-09-13
  • 2021-11-14
相关资源
相似解决方案