以下源码基于Spring 5.2.5版本 使用XML方式配置Spring应用时,web.xml中会配置一个Listener,如下: <display-name>Web Application</display-name> <context-param> <param-name>contextConf ...
分类:
编程语言 时间:
2020-06-02 19:24:11
阅读次数:
73
1.请求端 def home(request): """ 首页 """ # return render(request, 'home_application/index_home.html') bk_time = str(int(time.time())) bk_data = md5((bk_tim ...
分类:
其他好文 时间:
2020-06-02 13:06:05
阅读次数:
144
Springboot : 1、编写application.properties配置文件 #thymeleafspring.thymeleaf.cache=falsespring.thymeleaf.prefix=classpath:/templates/ // 配置视图解析器前缀路径spring.t ...
分类:
编程语言 时间:
2020-06-02 09:23:08
阅读次数:
140
webpack性能优化: 优化开发体验 优化输出质量 优化开发体验: 提升效率 优化构建速度‘ 优化使用体验 优化输出质量: 优化要发布到线上的代码,减少用户能感知到的加载时间 提升代码性能,性能好,执行越快 缩小文件范围: 优化loader配置:test、include、exclude三个配置项来 ...
分类:
Web程序 时间:
2020-06-02 00:06:23
阅读次数:
101
一、首先,了解一下什么是ANR ANR,是“Application Not Responding”的缩写,即“应用程序无响应”。系统会向用户显示一个对话框,用户可以选择“等待”而让程序继续运行,也可以选择“强制关闭”。 在Android中,应用程序的响应是由Activity Manager和Wind ...
分类:
其他好文 时间:
2020-06-01 21:02:33
阅读次数:
85
在Springboot 中依赖Gson,项目启动时报错: *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to c ...
分类:
编程语言 时间:
2020-06-01 20:58:27
阅读次数:
136
npm Less npm install less less-loader --save 未验证下面这行是否必须 npm i style-resources-loader -D vue.config.js // vue.config.js const path = require('path') m ...
分类:
其他好文 时间:
2020-06-01 20:42:19
阅读次数:
159
常用的公开车道线数据集合 ApolloScape 论文: The ApolloScape Open Dataset for Autonomous Driving and its Application 简介: 百度2018年公开(CVPR2018 workshops),包含多种道路目标的语义标签(车 ...
分类:
其他好文 时间:
2020-06-01 13:28:12
阅读次数:
268
console https://www.jianshu.com/p/67bcb481d1c5 Element https://www.kkpan.com/article/1845.html ...
分类:
移动开发 时间:
2020-06-01 00:54:15
阅读次数:
144
1. application/x-www-form-urlencoded 默认。在发送前对所有字符进行编码(将空格转换为 "+" 符号,特殊字符转换为 ASCII HEX 值)。 multipart/form-data 不对字符编码。当使用有文件上传控件的表单时,该值是必需的。 text/plain ...
分类:
Web程序 时间:
2020-05-31 17:36:39
阅读次数:
81