Hello,

    Please code

    res.setContentType("text/html");

    in your serlvet before printing your html.

Hope this will solve your problem.

thanks
biju


----- Original Message -----
From: CR <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 02, 2000 4:01 AM
Subject: tags in netscape


> 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?
>
> Thanks
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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