| Article: |
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
|
||
Showing messages 1 through 1 of 1.
-
Cant get this example to work on later version
2003-05-14 08:18:59 hkubba [View]



<servlet>
<servlet-name>login</servlet-name>
<servlet-class>com.onjava.login</servlet-class>
</servlet>
another block should be added:
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/login</url-pattern> < !-- note it is /login not login -->
</servlet-mapping>
this will make it work