Tomcat集成LDAP实现容器管理安全性

摘要: LDAP Server openldap OpenLDAP安装与配置,参考 : https://www.ilanni.com/?p=13775 tomcat 修改tomcat/conf/server.xml,添加以下内容 web.xml <?xml version="1.0" encoding="U 阅读全文
posted @ 2018-08-20 18:20 worldpeace7 阅读(1115) 评论(0) 推荐(0) 编辑

JavaScript之作用域与闭包详解

摘要: 转:http://www.cnblogs.com/syfwhu/p/4839562.html 前言: JavaScript是一种应用非常广泛的语言,其也有一些自身特点和优势,本文重在讲述其作用域机制以及闭包,会从一些实例来探讨其机理。 作用域在JavaScript程序员日常使用中有不同的含义,如下所 阅读全文
posted @ 2017-08-15 13:56 worldpeace7 阅读(156) 评论(0) 推荐(0) 编辑

Can not find the tag library descriptor for "http://www.springframework.org/security/tags"

摘要: 添加spring-security-taglibs的包依赖 <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-taglibs</artifactId> <version>4 阅读全文
posted @ 2017-08-07 12:30 worldpeace7 阅读(727) 评论(0) 推荐(0) 编辑

No bean named 'springSecurityFilterChain' is defined

摘要: No bean named 'springSecurityFilterChain' is defined https://stackoverflow.com/questions/25032751/no-bean-named-springsecurityfilterchain-is-defined < 阅读全文
posted @ 2017-08-03 14:48 worldpeace7 阅读(389) 评论(0) 推荐(0) 编辑

Spring管理hibernate Session

摘要: 代码Git地址:https://github.com/mingchunliu2083/practiceproject/tree/springhibernate 注意: 1,如果在程序中像这样使用: sessionFactory.getCurrentSession().save(T); 如果不开启事务 阅读全文
posted @ 2017-08-02 09:30 worldpeace7 阅读(245) 评论(0) 推荐(0) 编辑

集成hibernate

摘要: Git地址: https://github.com/mingchunliu2083/practiceproject/tree/hiberante 阅读全文
posted @ 2017-07-31 14:44 worldpeace7 阅读(94) 评论(0) 推荐(0) 编辑

Maven setting.xml

摘要: /Users/user/mavenrepository nexus central http://repo1.maven.org/maven2 true true... 阅读全文
posted @ 2017-07-31 09:53 worldpeace7 阅读(146) 评论(0) 推荐(0) 编辑

SpringMVC集成Spring

摘要: 1,web.xml 2 applicationcontext.xml 3,controller 4 service 5jsp test.jsp spring.jsp 6 testing <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi= 阅读全文
posted @ 2017-07-28 21:46 worldpeace7 阅读(208) 评论(0) 推荐(0) 编辑

搭建SpringMVC

摘要: 1, XML 引入 SpringMVC 2, springmvc.xml 3 Controller 4 Jsp 5 pom 6 project structure 阅读全文
posted @ 2017-07-28 09:20 worldpeace7 阅读(172) 评论(0) 推荐(0) 编辑

一个简单的web project

摘要: 1 创建一个简单的Java Web Project 创建maven project 通过改变Project Facets里Java的版本就可以改变project的JRE 的版本 默认创建出来的额JSP文件有一个error 需要引入servlet包 javax.servlet-api.jar 如果搜索 阅读全文
posted @ 2017-07-27 14:45 worldpeace7 阅读(234) 评论(0) 推荐(0) 编辑