Women in Technology

Hear us Roar

  Deploying Web Applications to Tomcat
Subject:   Cant get this example to work on later version
Date:   2003-03-16 17:09:43
From:   anonymous2
Duplicated this example to the letter on
tomcat 4.18 it cant find the login servlet
This works fine on 4.0 is there something else
I should be doing for the later versions
thanx in advance

Commander of the legions of the dorks
(lesser known relative of Decimus Maximus
Commander of the Roman army and the legions of the North )

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Cant get this example to work on later version
    2003-05-14 08:18:59  hkubba [View]

    An important addition is to be added here: in the web.xml we must have 2 tags inside the < web-app> tag, those are <servlet> and <servlet-mapping> so when the article says :


    another block should be added:

    <url-pattern>/login</url-pattern> < !-- note it is /login not login -->

    this will make it work