资源简介

此在线学习平台适合初学者进行使用 ,本次使用MySQL数据库,数据库包含在压缩包内

资源截图

代码片段和文件信息

package com.cqgc.comm;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

/**
 * 导出Excel工具类
 * @author fxm
 *
 */
public class ExcelHelper {
/**
 * 导出html-Table到Excel文件
 */
    public static void ExportToExcel(HttpServletResponse responseString fileName String dt)
    {
     response.setCharacterEncoding(“utf-8“);
     response.addHeader(“Content-Disposition“ “attachment;filename=“ + response.encodeURL( fileName));
     response.setContentType(“application/x-excel“);
        try {
response.getWriter().append(dt);
response.flushBuffer();
} catch (IOException e) {
e.printStackTrace();
}
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        548  2017-10-26 10:47  tes\tes\.classpath

     文件        903  2017-10-17 14:52  tes\tes\.project

     文件        567  2017-10-17 14:52  tes\tes\.settings\.jsdtscope

     文件       1017  2017-10-26 10:47  tes\tes\.settings\oracle.eclipse.tools.webtier.ui.prefs

     文件        106  2017-10-20 09:13  tes\tes\.settings\org.eclipse.core.resources.prefs

     文件        598  2017-10-26 10:54  tes\tes\.settings\org.eclipse.jdt.core.prefs

     文件        461  2017-10-17 14:52  tes\tes\.settings\org.eclipse.wst.common.component

     文件        345  2017-10-17 14:52  tes\tes\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2017-10-17 14:52  tes\tes\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2017-10-17 14:52  tes\tes\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1399  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\comm\ExcelHelper.class

     文件       1371  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\comm\MD5Helper.class

     文件       1306  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\comm\MyJSPHelper.class

     文件       1268  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\comm\SelectListItem.class

     文件       7745  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\ClazzController.class

     文件      10776  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\ClazzCourseTeacherController.class

     文件       5082  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\CourseController.class

     文件       7469  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\DeptController.class

     文件       8806  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\EmpController.class

     文件       1932  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\HomeController.class

     文件      12062  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\NormTargetController.class

     文件       9977  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\StudentController.class

     文件       2464  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\SysMenuController.class

     文件      10602  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\SysRoleController.class

     文件       9246  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\controller\SysUserController.class

     文件        581  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\dao\IClazzCourseTeacherDao.class

     文件        404  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\dao\IClazzDao.class

     文件        409  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\dao\ICourseDao.class

     文件        399  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\dao\IDeptDao.class

     文件        394  2017-10-26 10:59  tes\tes\build\classes\com\cqgc\tes\dao\IEmpDao.class

............此处省略404个文件信息

评论

共有 条评论