[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Setting Content-Type from JSP


How can I set the Content-Type from a JSP.  I don't always want to send text/html.  In this particular case I want to send image/gif.
 
From what I can tell, GNUJSP automatically set's the content-type and according to the javax.servlet.ServletResponse interface the content type can only be set once.
 
I'll try and figure something out myself since I have to demo this first thing in the AM, but if anyone can save me the trouble I'll buy the pizza and beer.
 
thanks in advance!
 
eric