随笔分类 - 配置文件
摘要:mvc的xml头 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/s
阅读全文
摘要:只需要在maven配置阶段加上如下键值对即可 键:archetypeCatalog 值:internal
阅读全文
摘要:xml、注解、aop、事务控制 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XM
阅读全文
摘要:Spring框架 spring核心包 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.2.RELEASE</version> </depe
阅读全文
摘要:driverClassName = com.mysql.cj.jdbc.Driver url = jdbc:mysql://localhost:3306/数据库名?serverTimezone=UTC username = root password = 123456 #初始化连接数量 initia
阅读全文
摘要:简述 一般的web工程中都会用到web.xml,web.xml主要用来配置,可以方便的开发web工程。web.xml主要用来配置Filter、Listener、Servlet等。但是要说明的是web.xml并不是必须的,一个web工程可以没有web.xml文件。 Tomcat容器的加载过程 WEB容
阅读全文