From: Marc P. <ma...@an...> - 2003-06-13 17:11:58
|
On Fri, 13 Jun 2003 12:09:21 -0400, Keats <ke...@ea...> wrote: > Also the JavaDocs show as plain text in Mozilla. This must be a Tomcat > thing, cause they look fine if I open them directly from the file system. Duh. Of course. I'm serving non-WM content too (i.e. the API docs) and not setting content-type. Hmmm. Is there a nice way to get the default content-type for a file extension from the Servlet API. I don't think there is... :( -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |