error page for jsp

2002-09-19 Thread Dmitry Melekhov
Hello! I can't understand how works directive error-page in web.xml for jsps. I added following in web.xml: error-page exception-typejava.lang.NullPointerException/exception-type location/is/errorpge.jsp/location /error-page I case of exception IE says that page is

default pageEncoding

2002-07-23 Thread Dmitry Melekhov
Hello! Is it possible to set default pageEncoding for jsps? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: default pageEncoding

2002-07-23 Thread Dmitry Melekhov
Eric Leung wrote: Hi, yes, just like HTML add a line like this: META HTTP-EQUIV=Content-Type Content=text/html; Charset=iso-8859-1 character set Eric I understand. But our devepopers are too lazy ;-) They don't want to write this line in every jsp... Is it possible

Re: AW: default pageEncoding

2002-07-23 Thread Dmitry Melekhov
? -Ursprungliche Nachricht- Von: Dmitry Melekhov [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 08:26 An: Tomcat Users List Betreff: Re: default pageEncoding I understand. But our devepopers are too lazy ;-) They don't want to write this line in every jsp... Is it possible to configure

Re: AW: AW: default pageEncoding

2002-07-23 Thread Dmitry Melekhov
Ralph Einfeldt wrote: Sorry, my answer was a bit to fast. There is more than one aspect of the encoding: - Compiletime This aspect defines which character set is/was used to write the source of the page. That's what you can define with the -encoding option of javac. I'm not

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 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]