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