Ravi:

By default (let's say you call the helloWorld servlet using
http://hostname/servlet/HelloWorld), the servlet responds to doGet() method.

If you call it from an HTML using <FORM METHOD=POST
action="/servlet/HelloWorld">, then your servlet responds to doPost()
method. Hope this will help you.

Regards,
Louis Mechery


>From: ravi <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: POST METHOD
>Date: Tue, 26 Oct 1999 19:37:37 +0530
>
>Hello all
>I could able to get the servlet with doGet() metehod
>But if i use doPost()
>I am could not open the page
>
>thanks in advance
>ravi
>
>___________________________________________________________________________
>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

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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