Browse Source

Merge pull request #18 in DESIGN/design from ~KERRY/design_10.0:feature/10.0 to feature/10.0

* commit 'e30cc7581b9cebe115c0f93cb3e9ce48453a3e7f':
  REPORT-7500 【10.0一轮迭代】10.0 exe内置tomcat编码方式需要修改为UTF-8
master
superman 7 years ago
parent
commit
66868ef2ef
  1. 1
      designer_base/src/com/fr/start/server/TomcatHost.java

1
designer_base/src/com/fr/start/server/TomcatHost.java

@ -71,6 +71,7 @@ public class TomcatHost {
this.listener = new AprLifecycleListener();
this.server.addLifecycleListener(listener);
this.tomcat.getHost().setAppBase(StableUtils.getInstallHome() + File.separator + ".");
this.tomcat.getConnector().setURIEncoding("UTF-8");
} catch (Exception e) {
//todo 最好加一个用server.xml
FRContext.getLogger().error(e.getMessage(), e);

Loading…
Cancel
Save