Servlet normally, if you are running Jrun should go in to the servlet direstory.
Should get called through the port :8000

so you can have <FORM action="http://myHost:8000/Servlet/MyServlet"
Method="Get/Post">

where MyServlet.class should go inside the Jrun Servlet directory

Cheers
Athy Natkuna
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Gerardo Macari wrote:

>  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

___________________________________________________________________________
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

Reply via email to