上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 43 下一页
摘要: 1.创建Maven的Web项目 2.pom.xml配置 <dependencies> <!-- spring web--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> 阅读全文
posted @ 2022-09-29 20:49 lwx_R 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1.什么是SpringMVC Spring MVC是Spring家族中的一个web成员, 它是一种基于Java的实现了Web MVC设计思想的请求驱动类型的轻量级Web框架, 即使用了MVC架构模式的思想,将web层进行职责解耦,基于请求驱动指的就是使用请求-响应模型, 框架的目的就是帮助我们简化开 阅读全文
posted @ 2022-09-28 17:28 lwx_R 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 可以使用 properties 文件、YAML 文件进行配置,放入resources目录下 1.application.properties environments.dev.url=http://dev.example.com environments.dev.name=Developer Set 阅读全文
posted @ 2022-09-26 12:13 lwx_R 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 1.在resources文件下新建Banner.txt可以修改启动图标 2.使用 spring.main.banner-mode 属性 //关闭banner图标 SpringApplication app = new SpringApplication(App.class); app.setBann 阅读全文
posted @ 2022-09-26 12:08 lwx_R 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1.view 同div使用 2.swiper滑块视图容器 里面只能嵌套swiper-item组件(宽高自动设置为100%),再嵌套image组件即可 常用属性 <swiper indicator-dots="true" indicator-active-color="red" circular="t 阅读全文
posted @ 2022-09-25 18:50 lwx_R 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1.项目目录 2.app.json app.json 是当前⼩程序的全局配置,包括了⼩程序的所有⻚⾯路径、界⾯表现、⽹络超时时间、底部 tab 等。普通快速启动项⽬⾥边的 app.json 配置 2.1 page字段 ⽤于描述当前⼩程序所有⻚⾯路径,这是为了让微信客⼾端知道当前你的⼩程序⻚⾯定义在哪 阅读全文
posted @ 2022-09-25 18:28 lwx_R 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1.创建普通web项目 2.在pom.xml里添加依赖 父依赖版本低 rest风格的GetMapper注解没有 <!-- Spring Boot 启动父依赖 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>sp 阅读全文
posted @ 2022-09-24 19:02 lwx_R 阅读(21) 评论(0) 推荐(0) 编辑
摘要: int longestCommonSubsequence(string text1, string text2) { //dp[i][j]记录text1前i序列和text2前j序列的最长公共序列 int dp[1005][1005]; memset(dp,0,sizeof(dp)); for(int 阅读全文
posted @ 2022-09-21 13:51 lwx_R 阅读(10) 评论(0) 推荐(0) 编辑
摘要: int lengthOfLIS(vector<int>& nums) { int len=nums.size(); int dp[len]; int list[len];//记录序列下标 vector<int> v; for(int i=0;i<len;i++){ dp[i]=1; list[i]= 阅读全文
posted @ 2022-09-21 13:25 lwx_R 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1.添加插件 <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <port> 阅读全文
posted @ 2022-09-19 19:07 lwx_R 阅读(74) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 43 下一页