On Wed, 1 Mar 2000, CR wrote:

> I am building a very simple servlet.
> When I run the application in netscape browser, the execution of the
> servlet results in all HTML tags showing up as part of the output.
>
> Example:
>
> The result displayed in Netscape browser is similar to:
>
> <HTML>
> <HEAD>
> <TITLE> BLAH BLAH </TITLE></HEAD>
>
> .......
>
> However, the same application run under Internet Explorer produces the
> correct results.  That is, HTML tags do not show up.
>
> I am running Java WebServer 1.1.3.
>
> Is there some setting in Netscape I need to turn change?

Are you setting the content type in the response?  (i.e. using
resp.setContentType())  Perhaps you are not, and Netscape defaults to
text/plain, and IE defaults to text/html.  Just a guess.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to