public static String genCode(TableModel tModel, File output){
		try {
			File controller = new File(output, tModel.getToClassName()+"Controller.java");
			FreemarkerUtil.genResource("controller.ftl", new FileOutputStream(controller), tModel);
			return "<li><a href=\""+tModel.getAlias()+"/list.do\" class=\"list\" target=\"navTab\" rel=\""+tModel.getToEntityName()+"List\" >"+tModel.getToClassName()+"</a></li>";
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		return "";
	}