<servlet>
<servlet-name>IntraMail</servlet-name>
<servlet-class>your.package.IntraMail</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>IntraMail</servlet-name>
<url-pattern>/IntraMail</url-pattern >
</servlet-mapping>
your servlet can now be accessed as you want it to.
----- Original Message -----
From: "Markus Diesing" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 5:21 PM
Subject: Mapping
> 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:[EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
¡Š.a¨h gÊ‹«~·žÉ¨h¡Ê&i×kz˶m§ÿæj)rj(r‰