tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Rudnicki <>
Subject Re: servlet respose is not interpeted by the browser
Date Mon, 01 May 2000 07:30:49 GMT
I'm 99% sure you are missing this


In your servlet doGet().  This statement causes the MIME type to be
prepended to the output.  The browser is looking for this to determine what
to do with the data that follows.  The browser does not guess that the data
is html, text, jpeg, gif, etc.

----- Original Message -----
From: "Marcos Martinez" <>
To: <>; <>
Sent: Friday, April 28, 2000 6:16 AM
Subject: servlet respose is not interpeted by the browser

> My problem is that when i get the output of one servlet, the only thing
> which i am able to see, is the html page, as if it was a test file, I
> mean that i get in my broser all the code of the dinamic html page which
> was generated by the servlet. it seems like my browser was not able to
> understand html, and the display the source code instead of the real
> content.
> Thanks for all.
> --------------------------------------------------------------------------
> To unsubscribe, email:
> For additional commmands, email:

View raw message