摘要: MybatisUntil public class MybatisUntil { private static SqlSessionFactory sf = init(); public static SqlSessionFactory init(){ String resource = "myba 阅读全文
posted @ 2017-12-04 17:45 但为君故L 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 实体Emp private int empno; private String ename; private String job; private Integer mgr; private Date hiredate; private Double sal; private Double comm 阅读全文
posted @ 2017-12-04 17:37 但为君故L 阅读(14848) 评论(0) 推荐(0) 编辑
摘要: 配置: 拦截登陆 <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://stru 阅读全文
posted @ 2017-12-04 14:16 但为君故L 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 配置 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan 阅读全文
posted @ 2017-12-04 14:11 但为君故L 阅读(1716) 评论(0) 推荐(0) 编辑
摘要: 映射文件 <?xml version="1.0" encoding="utf-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN""http://hibernate.sourceforg 阅读全文
posted @ 2017-12-04 14:08 但为君故L 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 配置: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE configurationPUBLIC "-//mybatis.org//DTD Config 3.0//EN""http://mybatis.org/dtd/mybatis-3-config.d 阅读全文
posted @ 2017-12-04 14:07 但为君故L 阅读(219) 评论(0) 推荐(0) 编辑