"No Content" is the message associated with
a 204 Status. It isn't a Content-type per se.
(205 Reset is another interesting one.) I believe
that RFCs 2045 and 2046 are the main ones
concerning Content Types.
I posted the list of known MIME types at
http://www.thecodecrew.com/known-types.txt
It contains references to the various RFC's that
define them...T
----- Original Message -----
From: "PALLUEL Sylvie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 11:45 PM
Subject: Re: calling a servlet while the same html displayed
> Hi,
>
> Which are the different content type we can use in these lines ?
> In a sevlet :
> res.setContentType("text/html");
> In Html files :
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
>
> Where can I find the list (and explanation) of them all ?
> I'm interested by The "No Content" , but also to know what exists, and how
to
> use it.
>
> Thanks for your help.
>
> Sylvie.
>
> "Christopher K. St. John" a �crit :
>
> > Saad Shareef wrote:
> > >
> > > I want my servlet to be called without returning any output.
> > >
> >
> > rfc2616: Hypertext Transfer Protocol -- HTTP/1.1
> >
> > 10.2.5 204 No Content
> >
> > The server has fulfilled the request but does not
> > need to return an entity-body ...
> >
> > If the client is a user agent, it SHOULD NOT change
> > its document view from that which caused the request
> > to be sent. This response is primarily intended to
> > allow input for actions to take place without causing
> > a change to the user agent's active document view ...
> >
> > --
> > Christopher St. John [EMAIL PROTECTED]
> > DistribuTopia http://www.distributopia.com
> >
> >
___________________________________________________________________________
> > 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
>
___________________________________________________________________________
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