I included an error-page option in my web.xml, but whenever I force an error I get a strange response...
 
HTTP/1.1 500 Internal Server Error
Date: Mon, 12 Feb 2001 15:41:28 GMT
Server: Orion/1.4.5
Transfer-Encoding: chunked
Connection: Close
Content-Type: application/octet-stream
 
0
 
My browser interprets this message as if it is about to download an unknown application.
 
This is not the way it should be...
 
Tried it on 1.3.8 and 1.4.5 (WinNT). Same message on both.
 
My web.xml :
 
...
 <error-page>
  <error-code>500</error-code>
  <exception-type>java.lang.NullPointerException</exception-type>
  <location>/bb/se/batborsen_error.html</location>
 </error-page>
...
 
Would appreciate a hint on where to look for the error.
 
thanks,
 
 
 
Johan Fredriksson
 
 
Dalai Lama wisdom
 
10. Remember that silence is sometimes the best answer.

Reply via email to