Hi,
    I don't know whether you can use the welcome-page tag is web.xml for
this. I had a workaround where my index.html calls a JavaScript function
(which redirects the user to the servlet) on body load.  I am not sure.. but
check out meta  "refresh" tag of html which can be used to reload the page
with different url (here to the servlet).
-sourabh

----- Original Message -----
From: Gautam Mudra <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 10:36 PM
Subject: how to make a servlet the index page


> Hi,
> from the browser when the user types a url,it automatically opens up an
> index.html file.but i want a servlet to called when the url is typed.how
to i do
> it.can anyone please help me.
>
> Thanks
>
>
___________________________________________________________________________
> 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

Reply via email to