I'm very new in this area and I'm looking for some help. What I eventually want to do is upload a file from my java application to a server, for the moment I've installed Apache on my local machine for development/testing. The way I see this working (please correct me if I'm wrong) is that the java side tries to POST to the JSP file in the server. So the URL would be something like http://localhost:8080/test/test_upload.jsp
In the test_upload.jsp file there is code that readily reads in the data that has been sent, this could for example be a String or a File.
I'm trying to get a really simple example working first. So just passing a String that gets sent to the server and printed out in the log.
What I'm looking for is the code for both sides of this (java file and JSP file). A simple example of this on a page on the web would be prefect. I've looked everywhere but keep encountering applets and servlets or form data being sent from HTML. Might be that I've been looking for the wrong thing.
Thanks for your help,