File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes number of mime types Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "number of mime types" Watch "number of mime types" New topic

number of mime types

Jeffrey Pony

Joined: Jun 24, 2002
Posts: 25
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

Joined: Mar 22, 2000
Posts: 13036
You can set the mime-type for an individual response with setContentType( somestring ).
I agree. Here's the link:
subject: number of mime types
jQuery in Action, 3rd edition