环境准备: 系统版本:CentOS Linux release 7.5.1804 (Core) 软件版本:apache-maven-3.8.1-bin.zip 安装目录:/application/ 安装: 下载安装包: wget https://mirrors.bfsu.edu.cn/apache/ ...
分类:
其他好文 时间:
2021-04-09 13:05:21
阅读次数:
0
浏览器调试的简略方法 谷歌浏览器F12进入开发者模式或者直接右键检查进入此界面。 几个常用标签: Elements:可以查看html代码 Console:控制台,可以运行一些指令 Sources:网站的源代码 Application:可以查看网站的数据库,cookies等 style:可以查看css ...
分类:
其他好文 时间:
2021-04-08 13:53:21
阅读次数:
0
首先配置ThreadPoolTaskScheduler线程池: package cn.demo.support.config; import org.springframework.context.annotation.Bean; import org.springframework.context ...
分类:
编程语言 时间:
2021-04-08 13:36:55
阅读次数:
0
原因: 证书问题 解决方法: 1.设为自动获取 2.新创建distribution/developer证书 ...
分类:
移动开发 时间:
2021-04-08 13:30:48
阅读次数:
0
Spring里的占位符spring里的占位符通常表现的形式是: <bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property name="url" val ...
分类:
编程语言 时间:
2021-04-07 11:19:32
阅读次数:
0
SpringMVC web.xml 前端控制器servlet 中文乱码拦截器filter 支持rest风格的过滤器 spring-mvc.xml 扫描controller包 添加 视图解析器 静态资源拦截器 添加controller层 spring spring-core.xml 扫描除了contr ...
分类:
其他好文 时间:
2021-04-07 10:56:25
阅读次数:
0
let Tools = { contentType: { '.323': 'text/h323', '.3gp': 'video/3gpp', '.aab': 'application/x-authoware-bin', '.aam': 'application/x-authoware-map', ...
分类:
Web程序 时间:
2021-04-07 10:42:03
阅读次数:
0
在autoconfigure模块的spring.factories中,有自动配置类DispatcherServletAutoConfiguration: 进入这个配置类,可以知道这个自动配置只有是Web Application并且发现有DispatcherServlet类的时候才会生效。 那么是什么 ...
分类:
编程语言 时间:
2021-04-06 15:12:48
阅读次数:
0
使用 jsonify 时,返回的 http response 的 Content-Type 是:Content-Type: application/json 使用json.dumps时,Content-Type则是:Content-Type: text/html; charset=utf-8 其他基 ...
分类:
Web程序 时间:
2021-04-06 14:40:10
阅读次数:
0
第一部分:注入bean和获取bean数据 /** * 账户的业务层实现类 * * 曾经XML的配置: * <bean id="accountService" class="com.itheima.service.impl.AccountServiceImpl" * scope="" init-met ...
分类:
编程语言 时间:
2021-04-05 12:18:26
阅读次数:
0