Hello Mike,
There is a good article at
http://www.javaworld.com/javaworld/javatips/jw-javatip34.html which explains
how to achieve this.
Regards,
Todd
-----Original Message-----
From: Mike Whittaker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: setParameterName/Value for URLConnection ?
In a servlet you use getParameter/Names/Values methods to find out what the
request object is . . . well requesting.
At the other end an HTLM form easily fills out these parameter names &
values.
Question
How do you (presumably with URLConnection class) fill in the parameter names
& values with Java?
I imagined it would be something like the setRequestProperty method.
Do you somehow send it in the body with the OutputStream? If so how?
Cheers,
mike
___________________________________________________________________________
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
The information in this electronic mail ("e-mail") message may
be confidential and for use of only the named recipient. The
information may be protected by privilege, work product immunity
or other applicable law. If you are not the intended recipient
the retention, dissemination, distribution or copying of this
e-mail message is strictly prohibited. If you receive this e-mail
message in error please notify us immediately by telephone
at 770-723-1011 or [EMAIL PROTECTED] Thank you.
___________________________________________________________________________
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