RE: Map all URL to one servlet

2003-10-27 Thread Shapira, Yoav
Howdy, >I admit I was sloppy in my usage of "as stated in >spec". The *behaviour* was stated in the spec, while never mentioning >the implementation of that behaviour ;) The sloppy part is true, which is why I said be careful with terminology (and why I didn't say you were completely wrong) ;)

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 9:47 AM > To: Tomcat Users List > Subject: RE: Map all URL to one servlet > > > > Howdy, > > >local values in WEB-INF/web.xml that 'match

RE: Map all URL to one servlet

2003-10-27 Thread Shapira, Yoav
Howdy, >local values in WEB-INF/web.xml that 'match' values in conf/web.xml, >will always takes precedence (as stated in the spec). And the *.jsp Be careful where you tread: the spec doesn't mention anything about conf/web.xml, or a web.xml hierarchy. This is a tomcat-specific concern. Yoav S

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
her Schultz [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 9:34 AM > To: Tomcat Users List > Subject: Re: Map all URL to one servlet > > > Mike, > > >>However, this mapping will override any extension-mapped (e.g. > >>*.jsp) Servlet. Of course, y

Re: Map all URL to one servlet

2003-10-27 Thread Christopher Schultz
Mike, However, this mapping will override any extension-mapped (e.g. *.jsp) Servlet. Of course, your Servlet also has to be able to handle serving any static resources (e.g. gifs, stylesheets) as well. I'm currently using a /* mapping, and also using JSP pages, with no trouble. So your assert

Re: Map all URL to one servlet

2003-10-27 Thread Tim Funk
:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, October 25, 2003 8:48 PM To: [EMAIL PROTECTED] Subject: Re: Map all URL to one servlet However, this mapping will override any extension-mapped (e.g. *.jsp) Servlet. Of course, your Servlet also has to be able to handle serving any static

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > Sent: Saturday, October 25, 2003 8:48 PM > To: [EMAIL PROTECTED] > Subject: Re: Map all URL to one servlet > > However, this mapping will override any extension-mapped (e.g.

Re: Map all URL to one servlet

2003-10-25 Thread Bill Barker
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Stefan, > > > Is it possible to map all URI''s from tomcat to just one servlet? > > > > for example: > > http://localhost:8080/hello/you > > http://localhost:8080/startme/now > > Yes. Do this in your web.xml: > >

Re: Map all URL to one servlet

2003-10-25 Thread Sriram N
Hi: You might also consider editing the $CATALINA_HOME/conf/web.xml to replace the "org.apache.catalina.servlets.DefaultServlet" with your own Servlet. You could then respond to ALL requests. -- Sriram --- Christopher Schultz <[EMAIL PROTECTED]> wrote: > Stefan, > > > Is it possible to map all

Re: Map all URL to one servlet

2003-10-25 Thread Christopher Schultz
Stefan, Is it possible to map all URI''s from tomcat to just one servlet? for example: http://localhost:8080/hello/you http://localhost:8080/startme/now Yes. Do this in your web.xml: everything-servlet name.or.servlet.class everything-servlet * That should do

Map all URL to one servlet

2003-10-25 Thread Stefan Lischke
Hi, Is it possible to map all URI''s from tomcat to just one servlet? for example: http://localhost:8080/hello/you http://localhost:8080/startme/now thanx in advance stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi