摘要: 配置文件中设置编码格式 conf = new Configuration(); try { conf.setDirectoryForTemplateLoading(new File(LOCAL_STORAGE_DIR)); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } conf... 阅读全文