Just try
<servlet-mapping>
<servlet-name>
IntraMail
</servlet-name>
<url-pattern>
/IntraMail
</url-pattern>
</servlet-mapping>
normally http://localhost:8080/intramail/Intramail will work now because the
url pattern is relative to your webapp context, which is /intramail .
regards,
Wim.
> -----Original Message-----
> From: Markus Diesing [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 30 januari 2001 10:21
> To: [EMAIL PROTECTED]
> 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]