Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] Java and the web

Started by Lord Darkblade Mar 29, 2006 at 9:57 AM 0 replies 350+ views
Original Post
Lord Darkblade
Lord Darkblade
What I am attempting to do is make a java program which takes a directory path and find all images within it (easy enough), then goes to a website (?), enters the data on the images (for example for uploading), and gets results from the next HTML page (ie the url of an image). Any ideas on how to do this or am I barking in the wrong language? Thanks
Son of Cain
Son of Cain
No big deal.

You will need a HttpConnection instance. Open a connection with an URL, and use the OutputStream it provides for you to send the images for the upload servlet. Use InputStream to read back the servlet's response.

Son Of Cain
a.k.a javabeats at yahoo.ca

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.