You can set these in the WEB-INF/web.xml of the web applications. Use the <mime-mapping> element which is documented in the Servlet spec. You may download this from:
<http://java.sun.com/products/servlet/download.html#specs> Cheers, Larry > -----Original Message----- > From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 7:25 AM > To: [EMAIL PROTECTED] > Subject: Setting MIME types in Tomcat 3.3 > > > Hi folks, > How do I set MIME types in Tomcat 3.3? Neither the CSS validator nor > new builds of Mozilla will parse a stylesheet unless the server sends > the right MIME type, and Tomcat sends it as text/plain rather > text/css. I seem to remember that with earlier versions of Tomcat > you could set MIME types in the web.xml file but this seems to have > changed? I can't find any documentation about this. > > Thanks, > Raj. > -- > Rajnish Bhaskar > [EMAIL PROTECTED], http://lordofthemoon.com > IT Education Unit, University of Glasgow > http://www.iteu.gla.ac.uk/ > -- > What you have here is an example of that well known phenomenon, A > Bookshop > Assistance Who Knows Buggerall But Won't Admit It > (probably some kind of arts graduate). > -- (Terry Pratchett, alt.fan.pratchett) > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
