Create a HttpURLConnection object. Then call the setRequestMethid("POST");

-- padhu



Avinash Pedgaonker , SA, NIC wrote:

Dear Friends,
i am calling an .asp file from a java applet programme using AppletContext
and showDcoument
like
ac.showDocument(new URL(url + "test.asp?param1=abc"));
here url is  getCodeBase()
my problem is that I want to use the 'post' method with this asp and not get
ie. no query string.
how can I achieve this?
I mean what exactly the browser does when we say in form   method = "POST" .
how it send the field name and value to server?

thanks in advance.

with regrads,
Avinash

___________________________________________________________________________
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