If i call a aervlet from a link.....
     1.- What method should i implement �doPost? �doGet? �����?????
     2.- How can i pass parameters?




Gerardo Macari <[EMAIL PROTECTED]> on 09/15/99 02:09:43 PM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Esteban Felipe/Venezuela/Contr/IBM)

Subject:  Re: Form & Folder



 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

gerardom.vcf

Reply via email to