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) ;)
> -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
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
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
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
:[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
> -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.
"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:
>
>
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
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
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
11 matches
Mail list logo