tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex A. Almero" <aalm...@yahoo.com>
Subject Re: Mapping
Date Tue, 30 Jan 2001 09:38:23 GMT
  <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" <mdi@intra-sys.de>
To: <tomcat-user@jakarta.apache.org>
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:mdi@intra-sys.de
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
Mime
View raw message