• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






白色小晶毛

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年8月9日

编写监听器查询权限数据
摘要: 1 web.xml <!-- 配置spring的上下文载入器监听器 ,项目启动时加载spring --> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> 阅读全文
posted @ 2018-08-09 16:22 白色小晶毛 阅读(121) 评论(0) 推荐(0)
 
用户登陆功能
摘要: 1 web.xml <welcome-file-list> <welcome-file>login.jsp</welcome-file> </welcome-file-list> 2 <s:form METHOD="post" NAME="actForm" action="user_login" n 阅读全文
posted @ 2018-08-09 15:31 白色小晶毛 阅读(162) 评论(0) 推荐(0)
 

2018年8月8日

岗位设置权限
摘要: 1 <s:a action="role_setPrivilegeUI?id=%{id}" namespace="/">设置权限</s:a> 2 //1 根据id查询当前要设置的角色,用于回显 Role role = roleService.getById(model.getId()); getVal 阅读全文
posted @ 2018-08-08 17:37 白色小晶毛 阅读(193) 评论(0) 推荐(0)
 
岗位管理列表
摘要: 1 岗位实体 package cn.itcast.oa.domain;import java.util.HashSet;import java.util.Set;/** * 岗位实体 */public class Role { private Long id; private String name 阅读全文
posted @ 2018-08-08 16:32 白色小晶毛 阅读(70) 评论(0) 推荐(0)
 
OA系统开始的一些通用模块
摘要: 1 web.xml配置 <?xml version="1.0" encoding="UTF-8"?><web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/X 阅读全文
posted @ 2018-08-08 11:14 白色小晶毛 阅读(204) 评论(1) 推荐(0)
 

2017年12月22日

查询分页后台代码
摘要: 1 访问index.jsp页面 2 index.jsp页面发送出查询员工列表请求 3 EmployeeController来接受请求 查出员工数据 4 来到list.jsp页面 在index.jsp下面 <jsp:forward page="/emps"></jsp:forward> Request 阅读全文
posted @ 2017-12-22 13:43 白色小晶毛 阅读(251) 评论(0) 推荐(0)
 

2017年12月21日

测试mapper
摘要: 1 public class MapperTest{ /* *测试DepartMapper */ @test public void testCrud(){ //创建springioc容器 ApplicationContext ioc = new ClassPathXmlApplicationCon 阅读全文
posted @ 2017-12-21 14:16 白色小晶毛 阅读(543) 评论(0) 推荐(0)
 
mybatis逆向工程
摘要: 1 http://www.mybatis.org/mybatis-3/ mybatis官方地址 getting Started 阅读全文
posted @ 2017-12-21 12:57 白色小晶毛 阅读(142) 评论(0) 推荐(0)
 

2017年12月19日

spring mvc xml简易配置
摘要: 1 <!-- springmvc的配置文件 ,包含网站跳转逻辑的控制--> <context:component-scan base-package="com.atguigu" use-default-filters="false"> <!-- 只扫控制器 --> <context:include- 阅读全文
posted @ 2017-12-19 23:40 白色小晶毛 阅读(182) 评论(0) 推荐(0)
 

2017年12月18日

spring 配置文件的简易xml
摘要: 1 pooledDataSource代码 <bean id="pooledDataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"> <property name="jdbcUrl" value="${jdbc.jdbcUrl}">< 阅读全文
posted @ 2017-12-18 14:33 白色小晶毛 阅读(287) 评论(0) 推荐(0)