摘要: 1、引入依赖 2、编写配置文件 分 java 和 xml 两种 java配置方式: xml配置方式: 3、编写 controller类 4、在前端页面调用 阅读全文
posted @ 2019-05-25 15:04 渣爷 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1、写一个监听器 2、在web.xml中配置 阅读全文
posted @ 2019-05-25 15:00 渣爷 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 <!-- log4j --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <!-- slf4j --> <depen 阅读全文
posted @ 2019-05-25 14:51 渣爷 阅读(1142) 评论(0) 推荐(1) 编辑
摘要: 1. 引入redis相关包 2. 配置applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi= 阅读全文
posted @ 2019-05-25 14:43 渣爷 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 1. 引入依赖 2. 生产者 3. 消费者 阅读全文
posted @ 2019-05-25 14:30 渣爷 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Forbidden (403) CSRF verification failed. Request aborted. 安全性验证 在form表单中加入 阅读全文
posted @ 2019-05-25 00:46 渣爷 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 路径问题,可能是没有配置这一行: 阅读全文
posted @ 2019-05-24 23:13 渣爷 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 创建Django项目 Django创建app 阅读全文
posted @ 2019-05-24 20:43 渣爷 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1. 理论概述 Android数据存储方式: SharedPreferences存储 手机内部文件存储 手机外部文件存储 sqlite数据库存储 远程服务器存储 SharedPreferences存储 手机内部文件存储 手机外部文件存储 sqlite数据库存储 远程服务器存储 2. 数据存储开发 2 阅读全文
posted @ 2019-05-24 20:36 渣爷 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 一个纯文本的语法怎么画图? 将流程图代码包含在 folw flow st= start: Start op= operation: Your Operation sub= subroutine: My Subroutine cond= condition: Yes or No? io= inputo 阅读全文
posted @ 2019-05-15 23:31 渣爷 阅读(1217) 评论(0) 推荐(0) 编辑