摘要: 阅读全文
posted @ 2019-01-21 21:40 <meng> 阅读(101) 评论(0) 推荐(0) 编辑
摘要: eval()可以把一个字符串转化为本地的js代码来执行 <script type="text/javascript"> var str = "alert('hello ajax')"; eval(str);</script> 从服务器端返回数据给页面,属性名必须用双引号,(可以用其它工具代替:jac 阅读全文
posted @ 2019-01-21 15:05 <meng> 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-01-20 00:15 <meng> 阅读(134) 评论(0) 推荐(0) 编辑
摘要: <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> 阅读(91) 评论(0) 推荐(0) 编辑
摘要: <bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> <property name="exceptionMappings"> <props> <prop key="org.apach 阅读全文
posted @ 2019-01-19 20:41 <meng> 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 标签式主要用于页面 阅读全文
posted @ 2018-12-31 20:20 <meng> 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1.导入spring与shiro的jar包 2.在web.xml 文件中配置shiro的shiroFilter <filter> <filter-name>shiroFilter</filter-name> <filter-class>org.springframework.web.filter.D 阅读全文
posted @ 2018-12-30 22:01 <meng> 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 最后点击Apply and Close就可以了 阅读全文
posted @ 2018-12-30 21:48 <meng> 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 注意:shiro的认证只是获取用户名和密码,具体的匹配由shiro来完成 阅读全文
posted @ 2018-12-29 18:00 <meng> 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-29 17:22 <meng> 阅读(126) 评论(0) 推荐(0) 编辑