Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-09 Thread Mark Thomas
Joseph S wrote: > > > 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 >

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-09 Thread Mark Thomas
> --- 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

Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Konstantin Kolinko
2009/6/9 Bill Barker : > >> Incidentally I discovered you can't by having an empty >> element, you have to have at least one in there or the >> default servlet will use the one in $CATALINA_BASE/conf/web.xml .  Bug or >> feature? > > I'd say an enhancement rather than a bug, since you can always

Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Bill Barker
"Joseph S" wrote in message news:4a2da6d6.50...@selectacast.net... >I have this in the web.xml of my application: > > > > MyServlet > > >/ > > > > > Which works fine, except for requests without pathinfo (i.e. > http://servername/ ). T

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 override to take. --

Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Joseph S
After restarting tomcat it started working by itself, but only if I've overriden the default in my web.xml or move index.jsp out of the way, implying that the default tomcat servlet is running *before* mine and then handing off to mine. I checked and requesting a plain static file does get ha

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