tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Diesing <...@intra-sys.de>
Subject Mapping
Date Tue, 30 Jan 2001 09:21:14 GMT
Hello,

  I've got the same problem as yesterday. My servlet's (a jar-file)
  directory is /webapps/intramail/WEB-INF/lib/

  Everything works fine when I call
  http://localhost:8080/intramail/servlet/IntraMail, but
  I'd like to call http://localhost:8080/intramail/IntraMail.
  I tried mapping, but it doesn't work.

  Here is my web.xml file:
  
...
<web-app>
    <servlet>
        <servlet-name>
            IntraMail
        </servlet-name>
        <servlet-class>
            net.intrasys.servlet.intramail.IntraMail
        </servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>
            IntraMail
        </servlet-name>
        <url-pattern>
            /intramail/IntraMail
        </url-pattern>
    </servlet-mapping>
</web-app>

pleas help me, thanx

-- 
Best regards,
Markus Diesing                         mailto:mdi@intra-sys.de



Mime
View raw message