随笔分类 -  固定套路集合

摘要:谷歌安装的插件安装在本地那个位置 C:\Users\用户名(你自己的)\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions 阅读全文
posted @ 2020-11-06 09:05 Spring_Xian 阅读(734) 评论(0) 推荐(0)
摘要:1、创建普通模块添加框架支持 2、配置Tomcat 3、配置项目结构 4、配置web.xml(配置controller和中文乱码)固定的写死的 classpath:是总的xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http:/ 阅读全文
posted @ 2020-10-01 18:42 Spring_Xian 阅读(162) 评论(0) 推荐(0)
摘要:首先编写对应的SQL,要完成的功能 1、在Mapper接口里对应返回值类型 Books queryBookByName(String bookName); 2、对应Mapper里编写SQL <select id="queryBookByName" resultType="Books"> select 阅读全文
posted @ 2020-09-29 17:26 Spring_Xian 阅读(176) 评论(0) 推荐(0)
摘要:来源:B站狂神说 文章、视频 第一步、创建数据库 CREATE DATABASE `ssmbuild`; USE `ssmbuild`; DROP TABLE IF EXISTS `books`; CREATE TABLE `books` ( `bookID` INT(10) NOT NULL AU 阅读全文
posted @ 2020-09-28 21:46 Spring_Xian 阅读(835) 评论(0) 推荐(0)
摘要:汇总问题 xml资源扫描问题,WEB没有lib目录没有导包,路径问题post跳转不到,中文乱码 1、xml资源扫描问题(找不到xml文件) <build> <resources> <resource> <directory>src/main/java</directory> <includes> < 阅读全文
posted @ 2020-09-26 18:52 Spring_Xian 阅读(191) 评论(0) 推荐(0)
摘要:1、新建项目导包 <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.2.0.RELEASE</version> </ 阅读全文
posted @ 2020-09-11 12:29 Spring_Xian 阅读(171) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-09-11 12:23 Spring_Xian 阅读(190) 评论(0) 推荐(0)
摘要:1、pom.xml导包 1 <dependencies> 2 <dependency> 3 <groupId>log4j</groupId> 4 <artifactId>log4j</artifactId> 5 <version>1.2.17</version> 6 </dependency> 7 阅读全文
posted @ 2020-07-05 10:52 Spring_Xian 阅读(277) 评论(0) 推荐(0)