1. 设置新建jsp页面默认编码为 UTF-8 

   Window -> Preferences->General -> Content Types -> Text->JSP 最下面 default encoding 设置为 UTF-8 

     eclipse 环境配置 之 编码设置

2. 设置文本文件编码为 UTF-8

   Window -> Preferences -> General -> Workspace 面板 Text file encoding   -> Other 选择UTF-8

     eclipse 环境配置 之 编码设置

3. 设置jsp文件编码为 UTF-8

   Window->Preferences->Web->JSP Files 面板选择 ISO 10646/Unicode(UTF-8)

     eclipse 环境配置 之 编码设置

相关文章:

  • 2021-12-11
  • 2021-05-14
  • 2022-01-13
  • 2021-11-19
  • 2021-12-23
  • 2022-01-03
猜你喜欢
  • 2021-12-06
  • 2021-10-07
  • 2021-07-02
  • 2022-12-23
  • 2021-07-02
相关资源
相似解决方案