What is equivalent of HTTP PUT request in JAVA
I am very new to JAVA.
I need to rewrite in java UNIX script which uploads
tar.file to a server.
Here is the script:
-
#! /bin/csh -f
set file = 'job.results.tar'
set url= 'http://xxx.xxx.edu:8080/cgi-bin/app_submit_job'
curl -T $file $url
-
I am familiar with java.net package and know how to Read and Write Streams.
However, what I do not know is what string represntation of PUT or POST resquests is?
Can and should I use java.net package, or I better off using jacarta packages?
Thanks in advance for help.

