數據加載中……
          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流 閱讀(1165) 評論(1)  編輯  收藏 所屬分類: WebDevelop

          評論

          # re: SrpingSecurity設置access-denied-page在IE下總是產生403錯誤[未登錄] 2012-12-03 09:38 l

          1
            回復  更多評論    

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 开封市| 临沭县| 云龙县| 胶州市| 闵行区| 龙泉市| 汝阳县| 株洲县| 西平县| 安溪县| 常州市| 固安县| 塘沽区| 唐河县| 和田县| 罗田县| 阿图什市| 资阳市| 松原市| 靖边县| 建平县| 沙坪坝区| 中西区| 慈利县| 奎屯市| 饶阳县| 大余县| 修武县| 龙州县| 吴川市| 惠来县| 英山县| 清远市| 周口市| 湘潭县| 虹口区| 故城县| 富源县| 海口市| 梅河口市| 宣化县|