One of the programmers will hopefully shoot this statement down, but
that sounds like a bug. The .whatever filter is being applied from left
to right. It should be the other way; right to left.

~Rob

Sanjay Madhavan wrote:
> 
> I have tried inserting the mime type declarations into the individual
> webapp/web.xml file but it still does not work.
> 
> Additionally files which have a filename like test.sample.xxx where xxx is
> the mime type are not treated as files with mime type xxx but if I rename
> the file to be testSample.xxx then they are treated as the correct mime
> type.
> 
> /sanjay
> 
> -----Original Message-----
> From: William Brogden [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 2:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat 3.2.1/Mime type ignored
> 
> Sanjay Madhavan wrote:
> >
> > I am unable to get Tomcat 3.2.1 to recognise any new mime types that I
> enter
> > into the conf/web.xml file.
> >
> > Tomcat seems to ignore these new mime types and returns the document as a
> > text/plain document.
> 
> As I understand it, 3.2 does indeed ignore /conf/web.xml
> entirely. You have to put the mime types in the individual
> application web.xml files.
> 
> Supposedly with 4.2 it goes back to looking at /conf/web.xml
> 
> --
> WBB - [EMAIL PROTECTED]
> Java Cert mock exams http://www.lanw.com/java/javacert/
> Author of Java Developer's Guide to Servlets and JSP
> ISBN 0-7821-2809-2
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-- 
_______________________________________

 Robert Wohleb
 Web Applications Development Manager
 Parafoil Software, Inc.
_______________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to