In a perfect world you are right. In real life IE seems to ignore the content type in some cases. IE behaves much better if the url ends with the correct postfix for a word document. A question to the original poster: Are you talking about word documents you serve by a servlet of your own or do you just want tomcat to serve static word documents ? > -----Urspr�ngliche Nachricht----- > Von: Klaas van der Ploeg [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 3. August 2001 11:11 > An: [EMAIL PROTECTED] > Betreff: RE: viewing application/msword using TOMCAT > > > response.setContentType("application/msword"); > out.write("This is some sample text"); > > Browsers base their action on the content-type. If msword is > installed, > contenttype application/msword is handled by msword. > > I'm using RTF to send word-templates to the users, that works fine. > > Rgrds, > Klaas > > -----Original Message----- > From: jingi [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 3 augustus 2001 1:34 > To: [EMAIL PROTECTED] > Subject: viewing application/msword using TOMCAT > > > how to view application/msword file on browser side using > TOMCAT ????? > thanks for help in advance. > > -jingi >
