Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 99199 invoked from network); 28 May 2003 18:03:31 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 28 May 2003 18:03:31 -0000 Received: (qmail 20160 invoked by uid 97); 28 May 2003 18:05:45 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 20153 invoked from network); 28 May 2003 18:05:45 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 28 May 2003 18:05:45 -0000 Received: (qmail 96236 invoked by uid 500); 28 May 2003 18:02:41 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 96190 invoked from network); 28 May 2003 18:02:40 -0000 Received: from rip.hugsmidjan.is (HELO rup.hugsmidjan.is) (213.213.133.178) by daedalus.apache.org with SMTP; 28 May 2003 18:02:40 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message Subject: Content type problem MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 28 May 2003 17:57:42 -0000 Message-ID: <88500E0F870AA542B6340D8BC05A9E1B1C666F@rup.hugsmidjan.is> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Content type problem Thread-Index: AcMlQqKVH9Lru66/Qwy0A37QVgUVvw== From: =?iso-8859-1?Q?Reynir_H=FCbner?= To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi,=20 I have a content-type problem... I have a website where most urls are not with an file ending such as = .jsp that is most urls are something like this :=20 http://website.com/news=20 http://website.com/staff http://website.com/news/12/05/2003 This is done by urlrewriting with a filter.=20 The problem I am trying to solve is the fact that the default mime type = seems to be text-plain, and there for all those pages get rendered as = text but not HTML.=20 I've tried setting response.setContentType("text/html"); in my JSP but = that does not change anything, I also have all the content type tags in = the HTML code, but that does not change anything either.=20 What can I do (I am about to patch the http connector).... Reynir =DE=F3r H=FCbner reynir@hugsmidjan.is --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org