RE: The same servlet through 2 different URL

2003-08-01 Thread Shapira, Yoav
>Sent: Friday, August 01, 2003 10:53 AM >To: Tomcat Users >Subject: The same servlet through 2 different URL >Importance: High > > >SCENE: I'm using Tomcat 4.1. > >I want my servlet Principal.class to be called when someone access >http://localhost/projname/ OR http://

The same servlet through 2 different URL

2003-08-01 Thread Moraes, Fabio
SCENE: I'm using Tomcat 4.1. I want my servlet Principal.class to be called when someone access http://localhost/projname/ OR http://localhost/projname/index I put this in webapps/projname/web.xml: Principal servlets.Principal and this: Principal / E