Use this code inside th <HEAD> tag:
<script language='JavaScript'>
document.location.href='/servlet/MyServlet;
</script>
______________________________________________________________
Thor Erik Karlsen
Developer
CatalystOne
Tlf: (+47) 93096033
[EMAIL PROTECTED]
-----Original Message-----
From: Sivagamasundari <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, April 12, 1999 6:14 AM
Subject: how to invoke a servlet thro' javascript?
>Hi,
>
>does javascript support some kind of a "href=URL" mechanism so that this
>can be done in the "onload" event? i want to invoke a servlet thro'
>javascript....
>
>please help
>thanks
>Sundari
>
>___________________________________________________________________________
>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