RE: filter to set content type

2002-07-22 Thread Dmitry Melekhov
-archive.com/tomcat-user@jakarta.apache.org/msg41615.html Charlie -Original Message- From: Dmitry Melekhov [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 1:48 AM To: [EMAIL PROTECTED] Subject: filter to set content type Hello! I need to filter jsp output to set encoding

RE: filter to set content type

2002-07-22 Thread Craig R. McClanahan
this post in the archives: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg41615.html Charlie -Original Message- From: Dmitry Melekhov [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 1:48 AM To: [EMAIL PROTECTED] Subject: filter to set content type Hello

Re: filter to set content type

2002-07-22 Thread Dmitry Melekhov
Craig R. McClanahan wrote: You are trying to set the content type on the real response after it's been flushed (if the response is bigger than the output buffer), which won't do any good because the HTTP headers are long gone. Try changing the setContentType() method in your wrapper to

filter to set content type

2002-07-18 Thread Dmitry Melekhov
Hello! I need to filter jsp output to set encoding in content type. I tryied several variants I can write ;-) with no success :-( Could somebody send me an example? Thank you! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]