自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 Maven使用tomcat7-maven-plugin插件

org.apache.tomcat.maven tomcat7-maven-plugin 2.2 8088 /qingfeng

2020-04-27 00:11:17 173

原创 classpath:/和 classpath*:/区别

classpath:只会到你的class路径中查找找文件;classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找.列如:classpath:/spring-.xml classpath下所有目录下的指定前缀的文件classpath:/spring-*.xml 当前classpath和jar中clas...

2020-03-25 22:13:08 671

原创 The import javax.servlet cannot be resolved报错

Maven项目1.导包报错 The import javax.servlet cannot be resolved2.点击项目右键选择Properties这样就可以了,项目就不会报错了

2020-03-18 18:14:58 213

原创 this.getClass().getResource("/").getPath()与this.getClass().getResource("").getPath()的区别

1.结构2.代码package util;public class Test01 { public void test() { // TODO Auto-generated method stub System.out.println("测试========》"); String s1=this.getClass().get...

2019-11-23 18:15:20 514

原创 Maven的settings.xml的详细配置

<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work...

2019-11-23 10:47:15 271

原创 Spring Security的xml详细配置

<?xml version="1.0" encoding="UTF-8"?><beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="htt...

2019-11-21 22:45:38 575

原创 Maven管理Oracle驱动包

Maven导入坐标报错 Missing artifact com.oracle:ojdbc6:jar:11.2.0.1.0 <!-- oracle数据库驱动 --> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artif...

2019-10-26 14:51:15 407

原创 Maven使用tomcat8-maven-plugin插件

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven...

2019-10-26 10:05:59 378

原创 Maven的jar包和坐标的网站

https://mvnrepository.com/

2019-10-26 09:59:52 308

原创 获取页面选中的id

HTML页面<td><input id="delete_id" product_id="${product.id}" name="ids" type="checkbox"></td><button id="delete_productId" type= "button" ...

2019-10-25 16:53:33 487

原创 前端选中ID批量删除后端数据完整步骤

数据库的表和数据创建product表CREATE TABLE `product` ( `id` int(11) NOT NULL, `productNum` varchar(50) DEFAULT NULL, `productName` varchar(50) DEFAULT NULL, `cityName` varchar(50) DEFAULT NULL, `Dep...

2019-10-25 16:41:09 4106 1

原创 字符串以逗号分隔的转换为List方法

1: 利用JDK的Arrays类Stringstr ="a,b,c"; List<String> split= Arrays.asList(str.split(","));2: 利用Guava的SplitterStringstr ="a, b, c";List<String> splitToList= Splitter.on(",").trimResults()...

2019-06-25 16:39:38 17682 1

原创 SSM整合

1.创建maven项目2.pom.xml文件添加jar依赖 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http:...

2019-06-17 20:54:27 122

原创 Druid连接池的数据库连接

1.在maven项目结构2.属性文件:datasource.properties(DataSource连接参数)jdbc.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8jdbc.driverClassName=com.mysql.jdbc.Driverjdbc.username...

2019-06-16 21:00:34 261

原创 Spring-JDBC数据库连接

1.在maven项目结构 2.属性文件:datasource.properties(DataSource连接参数)jdbc.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8jdbc.driverClassName=com.mysql.jdbc.Driverjdbc.username...

2019-06-16 20:44:22 171

原创 Mybatis Generator逆向工程

1.数据库的表2.Maven项目结构3.pom.xml配置文件导入的坐标依赖<dependencies> <!-- MBG --> <dependency> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-cor...

2019-06-14 10:08:32 107

原创 监听器

在web.xml中配置<listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener>项目启动的时候,将一些常用数据放在application域中,都能用public class My...

2019-05-24 16:04:24 150

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除