sitemesh乱码解决:

  

修改文件:com.opensymphony.module.sitemesh.filter.TextEncoder.java,

              将private static final String DEFAULT_ENCODING = System.getProperty("file.encoding");

              修改为private static final String DEFAULT_ENCODING = "UTF-8";

              如果还是不行的话,被装饰的页面与要装饰的页面全都未设置统一的utf-8所以才会出现这种情况,所以把所有页面都设置成统一的utf-8的编码格式就可以就可以解决了

 

相关文章:

  • 2021-11-17
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-06-25
  • 2021-10-31
  • 2021-11-05
猜你喜欢
  • 2021-11-04
  • 2021-07-20
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-09-11
  • 2021-06-17
相关资源
相似解决方案