In index.html, you can use either use html meta tag to redirect it to a
servlet or call a javascript function on page load which will invoke the
servlet. In either case, the doGet method of the servlet would be called.
-HTH
----- Original Message -----
From: Roland Behm <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 26, 2000 1:32 PM
Subject: call servlet from html automatically
> How can a servlet be invoked from an html page automatically, without an
<a
> href... anchor.
> I.e. an index.html in the document root or a web site wants to launch a
> servlet directly, and the servlet does all the other work then.
> (Isn't there something like a <SERVLET .. tag?)
>
> Thanks + regards, Roland
>
>
___________________________________________________________________________
> 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