摘要:
pom.xml依赖 <?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-instan 阅读全文
摘要:
@Slf4j public class ConvertUtils { /** * @Description 主要解决查询时前端传参为空值 ("") * BeanUtils.copyProperties会把空值带入目标对象中 * 使用目标对象作为查询对象到mybatisPlus进行查询会导致没有匹配数 阅读全文
摘要:
web.xml中配置编码过滤器 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
controller @RequestMapping("/test?Hello/demo") public String test1(){ return "success"; } @RequestMapping("/test*/demo") public String test2(){ return 阅读全文
摘要:
web.xml配置 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
摘要:
1.创建项目,打包方式设置为war 2.配置web.xml路径:D:\Code\spring\ssm2023\ssm2023\spring_mvc\src\main\webapp\WEB-INF\web.xml 3.引入pom依赖 <project xmlns="http://maven.apach 阅读全文
摘要:
引入依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.2.0</version> </dependency> mybatis-config.x 阅读全文