Catching java.lang.Throwable

2006-08-12 Thread J Ross Nicoll
Found this recently: http://www.jroller.com/page/fate/?anchor=why_i_hate_tomcat Most of it is ranting about parts of Tomcat I don't have any experience with working on, but it does mention Throwable being caught all over the place: "The first issue is the fact that everywhere, Throwable is c

Problems with always sending Content-Type, Expires and Pragma headers

2006-07-21 Thread J Ross Nicoll
I've been adapting my web application to handle the Range and If- Range headers. Problem is, if I send back a 206 response (partial content), sometimes I don't want to be sending Content-Type. Specifically, from RFC 2616, section 10.2.7: "If the response is the result of an If-Range request