tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas, Rajesh" <rajesh.srini...@terayon.com>
Subject RE: Netscape displaying the HTML code
Date Tue, 19 Dec 2000 21:23:27 GMT
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:sguntupa@cisco.com]
Sent: Tuesday, December 19, 2000 1:16 PM
To: tomcat-user@jakarta.apache.org
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

Mime
View raw message