--- Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
> Try :
>
> <web-app>
>         <servlet>
>                 <servlet-name>HOME</servlet-name>
>
>
<servlet-class>org.mytestingservlet.Home</servlet-class>
>         </servlet>
>
>         <servlet-mapping>
>                 <servlet-name>
>                         HOME
>                 </servlet-name>
>                 <url-pattern>
>                         /home/*
>                 </url-pattern>
>         </servlet-mapping>
> </web-app>
>
> Pierre-Yves


Hello Peirre

I noticed that when i used
<url-pattern>/home/*</url-pattern> and type
http://localhost:8080 it shows the default Tomcat page
where you see example. It does not pick up the Home
servlet at all.

And surprising was that when I used just one
slash<url-pattern>/</url-pattern> it worked and showed
the Home servlet but it always shows that servlet even
if I call http://localhost:8080/search.html and the
file is located in in the webapps. Always the Home
servlet is displayed no matter what else I type. Can
you shed some light on this please?

many thanks


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to