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 displaying the HTML code
Hi,
I have tomcat 3.2 running on Apache 1.3.14.
All the HTML content in my web site is returned by the servlets based on
the templates passed
in the query. Something like
http://www.myserver.com:8070/examples/servlet/servletname?page=main
where main is a html template file.
When I am accessing the page from IE I get exactly what I want
but when I access this in netscape it displays all the HTML code.
Does any one know how to fix it?
Thanks in advance
Shanti