摘要:
shiro认证方式 shiro框架的概述 shiro认证的入门 spring整合shiro安全框架———— 框架的使用 Md5hash加密算法 登录认证的代码编写 编写登录的方法 编写退出的方法 用户授权的代码编写 阅读全文
摘要:
注意:需要引用jq包,使用格式:添加例子格式函数,添加点击事件:onclick="javascript:insert()" 阅读全文
摘要:
使用方法:复制上面的代码生成JS文件,页面引入后,添加onclick="SetDate(this,'yyyy-MM-dd')属性即可使用; 阅读全文
摘要:
1. 整合的配置文件如下 2. 测试代码如下 @Test public ... 阅读全文
摘要:
day68-crm index.html index.htm index.jsp default.html default.htm default.jsp org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationContext.xml st... 阅读全文
摘要:
/jsp/customer/add.jsp /jsp/customer/edit.jsp /jsp/customer/list.jsp customer_findAll /jsp/linkman/add.jsp /jsp/linkman/edit.jsp /jsp/linkman/list.jsp linkman_findAll 阅读全文
摘要:
org.hibernate.dialect.MySQLDialect true true none org.springframework.orm.hibernate5.SpringSessionContext com --> 阅读全文
摘要:
com.mysql.jdbc.Driver jdbc:mysql:///day67 root root org.hibernate.dialect.MySQLDialect true true update org.hibernate.c3p0.internal.C3P0ConnectionProvider org.springframework.orm.hibernat... 阅读全文
摘要:
JedisPoolConfig config = new JedisPoolConfig(); //连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true config.setBlockWhenExhausted(true); //设置的逐出策略类名, 默认DefaultEvictionPolicy(当连接超过最大空闲时间,或连接数超过最大空闲连接数) config.s... 阅读全文
摘要:
1:类的加载 当我们第一次使用一个类,系统会做两件事情: 1:将该类的字节码文件(.class)文件加载到内存 2: 系统还会为该字节码文件创建一个对象:Class对象 a.txt hello.java D://lesson//a.txt >FIle类 a.class Hello.class Dem 阅读全文