06 2019 档案
摘要:<properties> <spring.version>4.3.18.RELEASE</spring.version> </properties> <dependencies> <!--spring的核心的jar包--> <dependency> <groupId>org.springframew
阅读全文
摘要:<!--创建自定义域对象--><bean id="authRealm" class="com.aaa.ssm.shiro.AuthRealm"> <property name="credentialsMatcher" ref="credentialsMatcher"></property></bea
阅读全文
摘要:<!--扫描service的impl--><context:component-scan base-package="com.aaa.ssm.service.impl"></context:component-scan><!--加载jdbc.properties--><context:propert
阅读全文
摘要:<!--扫描控制器包--><context:component-scan base-package="<!--控制器包所在路径-->"></context:component-scan><!--指定以注解的方式配置spring mvc--> <!--相当于声明了 处理器映射器 RequestMapp
阅读全文
摘要:<!--核心监听器 当tomcat(web容器,应用服务器,web服务器)启动的时候创建spring 工厂类对象,绑定到tomcat上下文中 --> <listener> <listener-class>org.springframework.web.context.ContextLoaderLis
阅读全文