Hi,
try something like this:
->"server.xml"
------------
<Context path="/home"
docBase="webapps/home"
debug="0">
</Context>
------------
->"web.xml"
------------
<servlet>
<servlet-name>HOME</servlet-name>
<servlet-class> org.mytestingservlet.Home</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HOME</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
------------
it works fine!
psalazar
>
> Hi Folks
>
> I am trying to deploy my servlets but am having a
> problem. Instead of a welcome file, I want to have
> a welcome servlet. In my web.xml file I have tried
> something like
>
> <welcome-file-list>
> <welcome-file>home</welcome-file>
> </welcome-file-list>
>
> <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>
>
> But is dosent seem to welcome me with this servlet.
> How can I make it so when the user types in the url
>
> http://localhost:8080/home
>
> that they are "welcomed" by the contents of the HOME
> servler.
>
> Cheers
>
> Tony
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.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
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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