Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

number of mime types

 
Jeffrey Pony
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can u have more than one mime type within the SAME servlet .If yes does the latter one overwrite the earlier one?
Thanks in advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set the mime-type for an individual response with setContentType( somestring ).
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic