tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Hughes" <j...@jojet.com>
Subject TC3 to TC4 upgrade question
Date Wed, 15 Jan 2003 16:28:42 GMT
Hi all,
I am upgrading a webapp from TC3 to TC 4.1

I had a servlet mapping error with a servlet mapping of (worked fine in
TC3)

    <servlet-mapping>
        <servlet-name>
            dologin
        </servlet-name>
        <url-pattern>
            /dologin
        </url-pattern>
    </servlet-mapping>

But this was fixed by changing to

    <servlet-mapping>
        <servlet-name>
            dologin
        </servlet-name>
        <url-pattern>
            /servlet/dologin
        </url-pattern>
    </servlet-mapping>

Now I'm no expert with TC but I thought /dologin would have matched the
url? (this seems to work fine in TC3).

Any ideas? I can get it to work but would just like to know the rules at
work here.

Regards

Joel

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002
 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message