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