Hi,
this is a bit oof the topic but has to do with the whole
internet/java/web-accessing thing.
I'm trying to access a website through a "URLConnection" object.
This website accepts "form" information with the "POST" method, so I'm using
"URLConnection.getOutputStream()" to write output to the website.
(remembering to send
the content-type as "application/x-www-form-urlencoded" as well).
BUT this website only works if you have Cookies enabled in your browser. I'm
directly
accessing this website through an "URLConnection" object as said, so the
question is:
"how do I handle this problem with the cookie, that get automatically
handled by the web-browser?"
Thanx, in advance.
Sean
-: Sean Snyders
-: mailto:[EMAIL PROTECTED] www.cs.sun.ac.za/~snyders
-: Computer Science Department ph: +27-21-808-4393
-: University of Stellenbosch fax: +27-21-808-4416
-: Republic of South Africa
___________________________________________________________________________
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