I'm using this code, and I get the stack trace that is listed below.
I've got this working with just https and with basic authentication, but not ntlm.
I want to make a system where java client programs send images to a central server. The central server saves them and runs a website that uses these images.
How should I ...
We have a web server which has exposed an api where the client can upload a file. That file is read in the server and certain processing happens and a http ...
There are plenty of examples to download, but if you don't want to just grab someone else's attempt, the best place to start is with the original HTTP RFC. Although wordy, this defines the basic behaviour of a http server. Writing something to just respond to simple GET requests should be no more that 20 lines of Java or so.
sorry, i might get you and the other posters wrong. how would you want to upload a file without user interaction? wouldn't that be a huge security hole if you browse a website and it just uploads a file from your system to a webserver? assuming that we are not talking about any weired active-x funtionality, i'd say this cannot be ...