No. The content type must be specified before the output stream begins. Mark
-----Original Message----- From: Graham Lounder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: OT: Changing Content Type Sorry, this is a little off topic. Is there any way to change your content type mid way through a reponse? What I want to do is generate a dynamic html page, but I want to change content type and put a dynamically generated jpeg image in the page. Is this possible? Right now I'm having to make an image tag which points to a seperate servlet which generates the image. I'm trying to make a tag out of my code and it would help if I could put the html and image generation code together in the same request. Any ideas if this is even possible? Graham -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>