hello there,
I used web.xml file in
tomcat to do
servlet mapping , I have directory structure like this on my system,
c:\clients\sun\TestingServlet.class , and
c:\clients\microsoft\TestingServlet.class ,
the sun\TestingServlet generates "reply from sun servlet" text,and microsoft\TestingServlet generates text "reply from microsoft servlet" , I have mapped TestingServlet in web.xml,
so what I am looking for is when I invoke
"http://server:80/servlet/clients/sun/TestingServlet" it should generate "reply from sun servlet" text and when I invoke ,
"http://server:80/servlet/clients/microsoft/TestingServlet" it should generate "reply from microsoft servlet" text.
but whatever url I use to invoke the TestingServlet it only generates "reply from sun servlet" , I am not getting "reply from microsoft servlet" text even though I use "http://server:80/servlet/clients/microsoft/TestingServlet" url to invoke servlet , what should I do get text accordingly servlets in certainn directory.
thanks.