摘要: 1.在resoures下创建resoures/error文件夹 在其中自定义:404.html 403.html 500.html 阅读全文
posted @ 2018-09-02 20:36 lshan 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1.配置session的超时时间 : 在application.prooperties中 server.session.timeout = 600 //以秒为单位,默认最少一分钟 2.配置集群管理session:spring.session.store-type = redis; 支持类型 3. 配 阅读全文
posted @ 2018-09-02 19:43 lshan 阅读(2114) 评论(0) 推荐(0) 编辑