there is a few ways to call a servlet:

1: <body onLoad="http://host/servlet/yourServlet">
2 As a form (as you stated)
3: As a link ( < a href="http://host/servlet/yourServlet"> toMyServlet </a>

Where you put your servlet class is usually in a servlets dir. Eg in JRun.

gerardo


"Herv� Gissinger" wrote:

> Does anybody know how I have to call a servlet in an HTML page ? Have I
> to use as usual the form tag : <form method="post"
> action="myServlet">Parameter</form> ?
> Where do I have to put this file "myServlet.class" On the java server ?
> Is there a standard folder as "cgi-bin" for example ?
>
> ___________________________________________________________________________
> 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
begin:vcard
n:Macari;Gerardo
tel;work:Corel Europa House Hartcourt st, Dublin (Ireland)
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Gerardo Macari
end:vcard

Reply via email to