Generating Non-HTML Content

ColdFusion is usually used to generate content for use within Web browsers, but that’s not all you can do. In fact, ColdFusion is entirely client independent – you can generate content for any client including wireless devices (for example, WAP, iMode, and Palm) and other applications (for example Word, and Excel). How do you do this? The trick is to use the tag – a special tag that lets you specify the content MIME type (an identifier used to define the type of any data). The default MIME type, used if you do not use , specifies HTML output. But if you specify the right MIME type you can generate just about anything. (Applies to: ColdFusion All)

Leave a Reply