String projectPath = Constants.class.getResource("/").getFile();
int findindex = projectPath.indexOf("WEB-INF");
projectPath = projectPath.substring(1, findindex + 8)+ "dict/glossary.dat";;
File file = new File(projectPath);
int findindex = projectPath.indexOf("WEB-INF");
projectPath = projectPath.substring(1, findindex + 8)+ "dict/glossary.dat";;
File file = new File(projectPath);