• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

res.setContentType

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know about these content types:

res.setContentType("image/gif");
res.setContentType("application/pdf");
res.setContentType ("application/download");
res.setContentType("application/zip");
res.setContentType("application/tar");
res.setContentType("application/doc");
res.setContentType("image/jpg");
res.setContentType("application/word");
res.setContentType("text/plain");
res.setContentType("image/jpeg");
res.setContentType("application/txt");
res.setContentType("application/gif");
res.setContentType("application/jpg");
res.setContentType("text/html");
res.setContentType("text/xml");
res.setContentType("text/vap.wap.wml");
res.setContentType("text,vnd.wap.xml");
res.setContentType("text/vnd.wap.wml");
res.setContentType("multipart/mixed");
res.setContentType("text/html;charset=iso-2022-jp");
res.setContentType("application/vnd.ms-excel");

Can some body point me to some link where i can go in details about all these content types.
Especially "application/download".
Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This looks like a fairly comprehensive list.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic