posted @ 2019-01-21 21:40
<meng>
阅读(107)
推荐(0)
摘要:
eval()可以把一个字符串转化为本地的js代码来执行 <script type="text/javascript"> var str = "alert('hello ajax')"; eval(str);</script> 从服务器端返回数据给页面,属性名必须用双引号,(可以用其它工具代替:jac
阅读全文
posted @ 2019-01-21 15:05
<meng>
阅读(91)
推荐(0)
posted @ 2019-01-20 00:15
<meng>
阅读(143)
推荐(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>
阅读(95)
推荐(0)
摘要:
<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> <property name="exceptionMappings"> <props> <prop key="org.apach
阅读全文
posted @ 2019-01-19 20:41
<meng>
阅读(835)
推荐(0)
posted @ 2018-12-31 20:20
<meng>
阅读(107)
推荐(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>
阅读(125)
推荐(0)
摘要:
最后点击Apply and Close就可以了
阅读全文
posted @ 2018-12-30 21:48
<meng>
阅读(911)
推荐(0)
摘要:
注意:shiro的认证只是获取用户名和密码,具体的匹配由shiro来完成
阅读全文
posted @ 2018-12-29 18:00
<meng>
阅读(78)
推荐(0)
posted @ 2018-12-29 17:22
<meng>
阅读(132)
推荐(0)