Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PUT Applet

Status
Not open for further replies.

noizee666

Programmer
Aug 14, 2002
10
0
0
DE
Hi,

how do I use HttpURLConnection to PUT data on a webserver? I don't want to use Servlets.
What kind of Stream should I use to upload the binary files?

Thanks

Noizee
 
Applet security should restrict this unless the webserver you call back is the webserver the applet was loaded from. It may even still restrict this, forcing you to use the Applet Method of getDocumentBase() or something like that to call back the server. I'm not real clear on this though. Saving data is possible although uploading off the current computer isn't, you cannot access the user's files unless your applet is signed and depending on the user's browser policy you may still not have that priviledge.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top