数据加载中……
SrpingSecurity设置access-denied-page在IE下总是产生403错误
<http auto-config="true" access-denied-page="/accessDenied.jsp">...</http>,如果请求的URL没有权限,页面会跳转到accessDenied.jsp,可是在IE里面测试总是产生403错误。一直怀疑是security框架没有跳转accessDenied.jsp,后来偶然在国外网站上看来有人遇到类似的问题,最后解决方法是IE对自定义403的页面有个页面大小限制,必须超过512字节,如果没有超过IE会认为你自定义的403页面不够权威,Internet Explorer会使用其自带的403页面代替。[Quote]There is it a problem only Internet Explorer. In all remaining browsers all works perfectly.
IE has support so-called user friendly messages which it is possible to disconnect in adjustments.
As it can be manipulated on the server  if 
to send messages more than 512 byte.

posted on 2011-05-26 17:31 牛浪de流 阅读(1150) 评论(1)  编辑  收藏 所属分类: WebDevelop

评论

# re: SrpingSecurity设置access-denied-page在IE下总是产生403错误[未登录] 2012-12-03 09:38 l

1
  回复  更多评论    

只有注册用户登录后才能发表评论。


网站导航: