Thanks Kurt,
That works great for any (.html) files except .jsp and servlets... why would that
be???
Matt

Kurt Bernhard Pruenner wrote:

> Matt Goss wrote:
> > <servlet-mapping>
> >     <servlet-name>router</servlet-name>
> >     <url-pattern>/*</urlpattern>
> > </servlet-mapping>
> >
> > the idea is that I should be able to request the file test.jsp and have
> > the router servlet pick up the request (to test for a login)...but the
> > servlet never gets the request... the test.jsp page just comes right
> > up.... grrrrr...
>
> I had a similar problem - you might want to try the following:
>
> <servlet-mapping>
>     <servlet-name>router</servlet-name>
>     <url-pattern>/</urlpattern>
> </servlet-mapping>
>
> AFAIK that's how you do it according to the servlet spec... IIRC using the
> postfix "/*" only works on paths below root, i.e. "/somedir/*"...
>
> --
> Kurt Pruenner - Haendelstrasse 17, 4020 Linz, Austria | Briareos at Olymp BBS:
> http://www.mp3.com/Leak http://www.ssw.uni-linz.ac.at | ssh [EMAIL PROTECTED]
> ...........It might be written "Mindfuck", but it's spelt "L-A-I-N"...........
> np: Burnt Friedman & The Nu Dub Players - I Shot The Fashion Victim
>     (Just Landed)
begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard

Reply via email to