摘要: <%AttributePrincipal principal1 = (AttributePrincipal) request.getUserPrincipal();String username = principal1.getName(); %> 阅读全文
posted @ 2017-05-06 15:28 珈子 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 在比较openSession和getCurrentSession这两个方法之前 我们先认识一下这两个方法。 在进行配置信息管理时,我们一般进行一下简单步骤: Configuration cfg = new Configuration(); // 获得配置信息对象 SessionFactory sf 阅读全文
posted @ 2017-05-06 15:27 珈子 阅读(969) 评论(0) 推荐(0) 编辑
摘要: Spring接收请求参数: 1,使用HttpServletRequest获取 Java代码 @RequestMapping("/login.do") public String login(HttpServletRequest request){ String name = request.getP 阅读全文
posted @ 2017-05-06 15:07 珈子 阅读(348) 评论(0) 推荐(0) 编辑
摘要: CMD 运行cmd命令行 录入 sqlplus /nolog 无用户名登录 conn /as sysdba 连接到数据本地数据 alter user system identified by password; 修改System 密码 为password 或者打开sqlplus软件: 窗口用户名录入 阅读全文
posted @ 2017-05-06 15:05 珈子 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 开启TelNet服务的与客户端 ,点击开始 -> 控制面板 -> 程序->点击打开或关闭windows功能->找到telnet服务器和telnet客户端,把前面的选项点上。然后点确定。 CMD open ip 测试连接。异常:开启服务Telnet. 阅读全文
posted @ 2017-05-06 15:03 珈子 阅读(242) 评论(0) 推荐(0) 编辑
摘要: MAVEN包默认地址设置 <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</m 阅读全文
posted @ 2017-05-06 15:00 珈子 阅读(7059) 评论(0) 推荐(1) 编辑
摘要: 打开eclipse中的windows-->Preferences-->Team-->Git-->Configuration-->User Settings.然后点Add Entry新建一个键值对,输入http.sslVerify=false。 git pull与本地冲突 1、先将本地修改存储起来 这 阅读全文
posted @ 2017-05-06 14:57 珈子 阅读(180) 评论(0) 推荐(0) 编辑