Programming/jsp2014. 3. 27. 21:01
jsp를 통해 에러 메시지를 변경할 수 있는데
HTTP/500 에러의 경우 RFC 문서에 512byte 이상이 되도록 규정이 되어 있고
512 바이트 이하일 경우 IE에 내장된 에러 메시지로 출력하게 된다고 한다.


 Several frequently-seen status codes have "friendly" error messages that Internet Explorer 5.x displays and that effectively mask the actual text message that the server sends. However, these "friendly" error messages are only displayed if the response that is sent to the client is less than or equal to a specified threshold. For example, to see the exact text of an HTTP 500 response, the content length must be greater than 512 bytes.

[링크 : http://support.microsoft.com/kb/294807

해결책으로는
1. ie 설정변경
  • In Internet Explorer 5.x and 6.x, on the Tools menu, click Internet Options.
  • On the Advanced tab, under the Browsing section, click to clear the Show friendly HTTP error messages check box, and then click OK. 
  • 2. 강제로 513 바이트 이상이 되도록 더미 데이터를 붙이는 방법이 있다.

    1번에서 Show friendly HTTP error message는 한글로 "HTTP 오류 메시지 표시"로 번역된 듯?


    'Programming > jsp' 카테고리의 다른 글

    jsp cookie  (0) 2014.03.31
    jsp 액션 태그 - <jsp:  (0) 2014.03.28
    jsp buffer  (0) 2014.03.27
    jsp - page / request / session / applicaton  (0) 2014.03.27
    JSP에서 euc-kr로 할 경우 저장이 안되는 한글이 있다?  (0) 2014.03.26
    Posted by 구차니