上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 46 下一页
摘要: 1.单行显示 overflow:hidden; //超出一行文字自动隐藏 text-overflow:ellipsis;//文字隐藏后添加省略号 white-space:nowrap; //强制不换行 2. 多行显示 display: -webkit-box; word-break: break-a 阅读全文
posted @ 2022-10-21 11:13 lwx_R 阅读(130) 评论(0) 推荐(0)
摘要: 1. 全局异常概念 在JavaEE项目的开发中,不管是对底层的数据库操作过程,还是业务层的处理过程,还是控制层的处理过程,都不可避免会遇到各种可预知的、不可预知的异常需要处理。 每个过程都单独处理异常,系统的代码耦合度高,工作量大且不好统一,维护的工作量也很大。 SpringMvc对于异常处理这块提 阅读全文
posted @ 2022-10-21 10:27 lwx_R 阅读(93) 评论(0) 推荐(0)
摘要: 1.下载 下载链接:https://www.postman.com/downloads/ 中文文档:https://postman.org.cn/getting-started/installation-and-updates/ 2.使用 2.1 注册账号 2.2 在WorksSpace中输入链接选 阅读全文
posted @ 2022-10-19 11:52 lwx_R 阅读(29) 评论(0) 推荐(0)
摘要: 1.数据库建立ssm库,建立user表 2.user实体类 public class User { private int id; private String name; private String password; public int getId() { return id; } publ 阅读全文
posted @ 2022-10-19 11:35 lwx_R 阅读(35) 评论(0) 推荐(0)
摘要: 1. pom.xml <dependencies> <!-- junit 测试--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</s 阅读全文
posted @ 2022-10-19 10:35 lwx_R 阅读(44) 评论(0) 推荐(0)
摘要: 1.Restful风格 模型-视图-控制器(MVC) 是一个众所周知的以设计界面应用程序为基础的设计思想。 Restful风格的API是一种软件架构风格, 设计风格而不是标准,只是提供了一组设计原则和约束条件。 它主要用于客户端和服务器交互类的软件。基于这个风格设计的软件可以更简洁,更有层次,更易于 阅读全文
posted @ 2022-10-17 20:46 lwx_R 阅读(40) 评论(0) 推荐(0)
摘要: 1.文件上传 1.1 pom.xml <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.2</version> </dependenc 阅读全文
posted @ 2022-10-15 19:42 lwx_R 阅读(39) 评论(0) 推荐(0)
摘要: window.location.href = "login.html" 定时效果 3000毫秒 setTimeout(function(){ },3000); 阅读全文
posted @ 2022-10-14 19:48 lwx_R 阅读(26) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p>this is p</p> <button type="button">click</button> <script type 阅读全文
posted @ 2022-10-14 19:43 lwx_R 阅读(31) 评论(0) 推荐(0)
摘要: mvc配置文件 1.全部拦截 <!-- 使用bean定义一个Interceptor --> <mvc:interceptors> <!-- 直接定义在根下面的Interceptor拦截所有请求--> <bean class="org.xxx.springmvc.interceptors.inter1 阅读全文
posted @ 2022-10-13 13:02 lwx_R 阅读(62) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 46 下一页