文章
springboot经验之sql注入、xss注入拦截(POST)
简介sql注入、xss注入、cors攻击的简介以及解决方案,可以参考下面链接:https://blog.csdn.net/yhhyhhyhhyhh/article/details/84504487(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%
springboot整合redis
一、前提已经存在一个redissentinel集群,两个哨兵分别如下:/home/redissentinelcluster/sentinel1.conf!复制代码(https://oscimg.oschina.net/oscnet/badfb83ffaf047f68310cb8812ee3f6cdb9.gif)
springboot操作redis基础说明
软件环境:springboot1.5.2,redis3.2.1配置在application.properties,增加redis的配置,主要配置项包括redis的ip,端口,密码等,具体如下:\redisRedis数据库索引(默认为0)spring.redis.database0Redis服务器地址spring
springboot接入微信app支付
一:集成步骤1.引入依赖:<dependency<groupIdcom.github.wxpay</groupId<artifactIdwxpaysdk</artifactId<version0.0.3</version</dependency
springboot快速入门(三)——Controller的使用
一、概述 controller的分类: !(https://oscimg.oschina.net/oscnet/d2a187e72da3bdad50e86e56e89d3850dab.jpg) 相关的使用方式和springMVC的类似了,细节不再赘述二、Controller使用
springboot备份mysql后发送邮件并删除备份文件,支持win和Linux
首先加入springboot的邮箱依赖<!邮箱依赖<!https://mvnrepository.com/artifact/org.springframework.boot/springbootstartermail<dependency<groupIdorg.springf
springboot基于spark
参考文章:使用springboot构建restapi远程提交spark任务(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fhlp4207%2Farticle%2Fdetails%2F100831384)sparksubmit动态提交的办法(Sp
springboot使用工具类无需注入获取yml配置项
1.新建 BeanConfiguration类,用于项目启动构造我们的工具类packagewebapp.config;importorg.springframework.beans.factory.config.YamlPropertiesFactoryBean;importorg.springframewo
springboot使用rest
添加pom<!elasticsearch<dependency<groupIdorg.elasticsearch.client</groupId<artifactIdelasticsearchresthighleve
springboot使用Redis,监听Redis键过期的事件设置与使用代码
我使用的是Windows下的Redis服务,所以一下Redis设置都是在Windows平台进行。1、修改Redis配置文件1.1:Windows下的Redis存在两个配置文件!(https://oscimg.oschina.net/oscnet/65ec9678677f28f9aa707d9b664aa10bcba
已加载文章中没有匹配内容,试试其他关键词或清空搜索。