Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of

You're not obligated to use HTML, you can have plain text transferred or XML or some other file,

provided you indicate the right MIME-type.

Default is text/html .

As an alternative you can use a page directive.

The MIME-type that you set, applies to the entire page(document).

Not all browser(s) (versions) can handle the stream as indicated by the MIME-type.




For data types not based on plain text it's better to use a servlet instead of JSP, where you use response.getOutputStream to get the job done.