On second thought...
when requesting an html file it routed to the servlet (which popped up a login
screen) but when the servlet tried to forward to the html file it aparently got
caught in a recursive error of some kind and just hung. Then I noticed a huge
stack trace dumping out onto the screen of my server...
I could only get a section of it but it was the section that kept repeating
<stack trace>
at router.doPost(router.java:22)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)

</stack trace>
Could this be related to the authentication bug some people have noticed??? I'm
running Tomcat 3.1.
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