Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 7995 invoked from network); 7 Aug 2000 21:06:59 -0000 Received: from adsl-63-198-47-229.dsl.snfc21.pacbell.net (HELO costin.dnt.ro) (63.198.47.229) by locus.apache.org with SMTP; 7 Aug 2000 21:06:59 -0000 Received: from localhost (costin@localhost) by costin.dnt.ro (8.9.3+Sun/8.9.1) with ESMTP id OAA08255 for ; Mon, 7 Aug 2000 14:07:57 -0700 (PDT) From: cmanolache@yahoo.com X-Authentication-Warning: costin.dnt.ro: costin owned process doing -bs Date: Mon, 7 Aug 2000 14:07:57 -0700 (PDT) X-Sender: costin@costin.dnt.ro To: "'tomcat-dev@jakarta.apache.org'" Subject: Re: hard coded mime types In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > jnlp > application/jnlp > > > to my web.xml file, and it didn't work. The .jnlp file still gets served up > as though it's xml. I read in this mailing list that some of the stuff from > web.xml such as mime types has become hard coded. Is there any way to add a > new mime type to handle these jnlp or Web Start files appropriately? If you tried to add it to WEB-INF/web.xml and it didn't work - it's a serious bug. If you tried to add it to conf/web.xml - it will not work with the current code, but it's not a bug (IMHO). If you want to have portable applications you need to add the mime type you need to WEB-INF/web.xml. It is very easy to allow the admin to add new mime types, but if we want to do that it's better to use server.xml as a config file. We can do that for tomcat 3.3. Costin