tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S Bauer" <sbauer...@hotmail.com>
Subject Re: Does servlet mapping work in Tomcat 3.1?
Date Wed, 22 Nov 2000 22:12:59 GMT
Can I get a confirmation of this, because I took an app that was working and
switched the tags around and it had no effect.

sb
----- Original Message -----
From: "Kurt Bernhard Pruenner" <leak@gmx.at>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, November 22, 2000 4:04 PM
Subject: Re: Does servlet mapping work in Tomcat 3.1?


> Toby Piper wrote:
> > In my Apps web.xml file I have:
> >
> >         <servlet-mapping>
> >                 <servlet-name>Login</servlet-name>
> >         <url-pattern>/MyMap</url-pattern>
> >         </servlet-mapping>
> >
> >         <servlet>
> >                 <servlet-name>Login</servlet-name>
> >                 <servlet-class>Login</servlet-class>
> >         </servlet>
>
> Try swapping the <servlet> and <servlet-mapping> tags; IIRC <servlet>
has
to
> come before <servlet-mapping> or it won't work...
>
> --
> Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> .......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
> np: Two Lone Swordsmen - Foreververb (Tiny Reminders)
>

Mime
View raw message