數據加載中……
          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
            回復  更多評論    

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


          網站導航:
           
          主站蜘蛛池模板: 普宁市| 霍山县| 安龙县| 广汉市| 民权县| 万盛区| 桓仁| 嵩明县| 德格县| 濮阳县| 建湖县| 喀喇| 平远县| 金华市| 时尚| 长海县| 津市市| 木兰县| 榆林市| 明水县| 巴青县| 西贡区| 常熟市| 玉山县| 呈贡县| 玛沁县| 江城| 富裕县| 扎赉特旗| 蓬溪县| 浏阳市| 福安市| 淮安市| 巴林左旗| 建宁县| 达拉特旗| 石河子市| 师宗县| 婺源县| 乌鲁木齐县| 乌鲁木齐市|