<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.