Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-09 Thread Joseph S
Mark Thomas wrote: --- Original Message --- From: Joseph S To: Tomcat Users List Sent: 09/06/09, 01:58:45 Subject: Re: Problem with overriding the default servlet on tc 6.0.18 Joseph S wrote: After restarting tomcat it started working by itself, but only if I've over

Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Joseph S
Joseph S wrote: After restarting tomcat it started working by itself, but only if I've overriden the default in my web.xml More on this: I discovered that reloading the webapp itself doesn't work, I have to restart Tomcat itself in order to get the welcome file list overri

Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Joseph S
s get handled by my servlet instead of the tomcat default, so this is only an issue with / Joseph S wrote: I have this in the web.xml of my application: MyServlet / Which works fine, except for requests without pathinfo (i.e.

Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Joseph S
I have this in the web.xml of my application: MyServlet / Which works fine, except for requests without pathinfo (i.e. http://servername/ ). That still seems to be handled by the default tomcat servlet, which is serving up the index.j

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-06-04 Thread Joseph S
I'm also having a problem with 6.0.20. This happens on startup, and some webapps don't work. Jun 4, 2009 12:24:20 AM org.apache.catalina.connector.MapperListener init WARNING: Error registering contexts java.lang.NullPointerException at org.apache.catalina.connector.MapperListener.regist

Re: utf-8 encoding problem

2007-08-17 Thread Joseph S
Christopher Schultz wrote: Setting the encoding of the response is sometimes necessary when the browser (stupidly, IMO) elects not to send the charset being used to the server. It isn't the browser's fault, its the spec's fault. See https://bugzilla.mozilla.org/show_bug.cgi?id=289060#c8 --

Re: utf-8 encoding problem

2007-08-15 Thread Joseph S
POST Mark Thomas wrote: Joseph S wrote: When I did that my content displayed correctly, but on form submission it got corrupted. POST or GET? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

utf-8 encoding problem

2007-08-14 Thread Joseph S
My problem is this: One of my pages with an apostrophe was not displaying properly, so I added to my jsp: <%@ page contentType="text/html; charset=UTF-8"%> When I did that my content displayed correctly, but on form submission it got corrupted. You can view the problem here: http://b.tupa

How do I develop a Valve?

2007-07-09 Thread Joseph S
1) What jar files do I need to include in my classpath to compile a Valve? 2) Where do I put the class file so Tomcat can load it? Under CATALINA_BASE/common? - To start a new topic, e-mail: users@tomcat.apache.org To unsubsc

How do I set the default response encoding

2006-11-07 Thread Joseph S
My problem: I want to set the default output encoding to UTF-I if the browser supports it, for all my jsps and servlets. I could put <%@ page contentType="text/html;charset=utf-8" %> in all my jsps, but I don't want to have to put that in all jsps, and I only want to set utf8 if the request h