01 2019 档案
linux的基础
摘要:vmtools 的安装:作用 ——>共享linux和windows的文件夹 reboot 重启 远程登录 : 远程登录时要打开sshd(监视22端口) 怎么设施sshd: 打开远端,输入setup 阅读全文
posted @ 2019-01-25 22:14 <meng> 阅读(78) 评论(0) 推荐(0) 编辑
shiro与threamleaf的整合
摘要:1.添加依赖 2.在配置类中添加shiroDialect 阅读全文
posted @ 2019-01-24 22:01 <meng> 阅读(184) 评论(0) 推荐(0) 编辑
springboot实现国际化
摘要:1.编写配置文件 2.在application.properties中添加 i18n指的是国际化所在包名 3.实现国际化的接口 4.在配置类中 阅读全文
posted @ 2019-01-24 17:53 <meng> 阅读(252) 评论(0) 推荐(0) 编辑
thymeleaf的使用
摘要:1.导包 2.语法 阅读全文
posted @ 2019-01-23 19:59 <meng> 阅读(89) 评论(0) 推荐(0) 编辑
springboot
摘要:1.加载主启动类 2. 打包 jar 包 @PropertySource(value="") 作用:加载指定的配置文件(不在全局配置文件中) 设置页面图标 :在静态资源路径下 阅读全文
posted @ 2019-01-23 09:35 <meng> 阅读(83) 评论(0) 推荐(0) 编辑
json小知识
摘要:json转换新方法 上面是把一个json数组转换成map集合 fromObject()是通用的 map集合,bean对象,String转换成json 文件转换成字符串,在转换成json 生成json文件 阅读全文
posted @ 2019-01-22 19:50 <meng> 阅读(104) 评论(0) 推荐(0) 编辑
springboot的全局异常通知
摘要:ExceptionHandler:拦截所有通知 阅读全文
posted @ 2019-01-22 18:36 <meng> 阅读(244) 评论(0) 推荐(0) 编辑
jackson的小知识
摘要: 阅读全文
posted @ 2019-01-21 21:40 <meng> 阅读(101) 评论(0) 推荐(0) 编辑
ajax的一些小知识
摘要:eval()可以把一个字符串转化为本地的js代码来执行 <script type="text/javascript"> var str = "alert('hello ajax')"; eval(str);</script> 从服务器端返回数据给页面,属性名必须用双引号,(可以用其它工具代替:jac 阅读全文
posted @ 2019-01-21 15:05 <meng> 阅读(87) 评论(0) 推荐(0) 编辑
加载权限表达式
摘要: 阅读全文
posted @ 2019-01-20 00:15 <meng> 阅读(135) 评论(0) 推荐(0) 编辑
shiro 注解式前提
摘要:<aop:config proxy-target-class="true"></aop:config> <bean class="org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor"> <p 阅读全文
posted @ 2019-01-19 23:46 <meng> 阅读(92) 评论(0) 推荐(0) 编辑
shiro 没有权限异常处理
摘要:<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> <property name="exceptionMappings"> <props> <prop key="org.apach 阅读全文
posted @ 2019-01-19 20:41 <meng> 阅读(810) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示