• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ForeignStudent
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2
2017年9月25日
spring+springMVC+mybatis+shiro -- web.xml
摘要: 在网上看到好多都说springMVC必须在 shiroFilter前面,经测试,和位置没有关系,或者本人没有测试出应该有的功能,请大神指教。 阅读全文
posted @ 2017-09-25 20:58 ForeignStudent 阅读(256) 评论(0) 推荐(0)
单例模式
摘要: package com.test; public class Singleton { /** * 私有一个静态类为null,返回的时候判断下是否为null * 为null说明没有实例,创建一个赋值给静态变量然后返回这个静态变量, * 需要的注意的是,是返回这个静态变量,而不是返回创建的实例。 */ 阅读全文
posted @ 2017-09-25 20:30 ForeignStudent 阅读(119) 评论(0) 推荐(0)
spring 整合 shiro
摘要: 该架构采用spring + springMVC + shiro + ehcache搭建有哪里不对的地方请大神指明,万分感谢!! 先来个标题 接下来是 shiroFilter 这个名称和要 web.xml 里面配置的 shiroFilter 相对应, 说到这里了,顺便说下 web.xml 里面 shi 阅读全文
posted @ 2017-09-25 15:49 ForeignStudent 阅读(769) 评论(0) 推荐(0)
2017年9月22日
file_upload
摘要: <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="defaultEncoding" value="utf-8 阅读全文
posted @ 2017-09-22 19:46 ForeignStudent 阅读(201) 评论(0) 推荐(0)
上一页 1 2
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3