Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using HttpURLConnection for file uploading to ASP.NET server

843790Apr 3 2007 — edited May 14 2007
Hello,
I need to post (upload? what is correct term here?) file from Java applet using http protocol, POST method to ASP.NET server.

I herd that i need to use HttpURLConnection in order to do that.
But how exactly?
What address should I connect to?
Should i connect to my *.aspx page?
*** How to send file using this class? ***
Can i get my file, after all that, on ASP.NET server from Request.Files collection, same like i did before using html forms?

Thanks a lot.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2007
Added on Apr 3 2007
4 comments
174 views