hi
the following code should solve your problem
<HTML>
<HEAD>
<SCRIPT LANGUAGE = "Javascript">
function gotoURL() {
self.location="http://localhost/servlets/HelloClientServlet"
}
</SCRIPT>
<BODY onLoad = "gotoURL()">
</BODY>
</HTML>
get back to me for any further queries that u may have
manoj
Sivagamasundari wrote:
>
> 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
**********************************************************
MicroWorld Software Pvt Ltd (MSPL)
Bombay, INDIA.
Web : http://www.microworldsystems.com
E-Mail : [EMAIL PROTECTED]
Alternate : [EMAIL PROTECTED]
Solutions : Web-Designing & Application Integration
F-Secure : World's best AntiVirus & Security Software
Omnigate : Integrated Software for EMail/Fax/Paging/Proxy
**********************************************************
___________________________________________________________________________
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