I think what may be happening is IE is ignoring the text/plain attribute and
converting your HTML in the document. Where as Netscape is displaying the correct
attibute of text/plain and displaying the raw text. This is one of those "helpful"
features(like "friendly" HTTP error pages) Microsof
Guntupalli Shanti wrote:
> Thanks for the reply but I don't think that works.
> 2 reasons why:
>
> 1) As far as I understand when the request comes in for servlet it is
> passed to tomcat
> and from there onwards tomcat does the rest of the processing.
>
> 2) Also even if I use the ForceType di
content type header,
IE assumes HTML, while netscape assumes text.
Regards,
Simon
> -Original Message-
> From: Srinivas, Rajesh [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, December 19, 2000 10:23 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Netscape displaying the HT
Thanks for the reply but I don't think that works.
2 reasons why:
1) As far as I understand when the request comes in for servlet it is
passed to tomcat
and from there onwards tomcat does the rest of the processing.
2) Also even if I use the ForceType directive it defaults all the files in
th
You can refer "ForceType" directive in Apache.
Shuklix
-Original Message-
From: Guntupalli Shanti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 2:46 AM
To: [EMAIL PROTECTED]
Subject: Netscape displaying the HTML code
Hi,
I have tomcat 3.2 running on Apache 1.3.14.
All
hi,
I suppose you have to set the content type as text/html using the
setContentType() method of response object.
Hope this helps.
Rajesh
-Original Message-
From: Guntupalli Shanti [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 1:16 PM
To: [EMAIL PROTECTED]
Subject: Netscape