Skip to main content

How to upload the image Using java Swing desktop application to Server

2 replies [Last post]
venkateswaran
Offline
Joined: 2007-10-30

Hi,

I need to upload the image from my Swing Desktop application to Server (Tomcat) , is it possible to do without applet.

Thanks in advance

Venkat

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
venkateswaran
Offline
Joined: 2007-10-30

I solved this application by Using apche's following api's

org.apache.commons.fileupload.DiskFileUpload;
org.apache.commons.fileupload.FileItem;
org.apache.commons.fileupload.FileUploadException;

-Venkat

ru_pashka
Offline
Joined: 2007-04-23

Hi.

Take a look at http://java.sun.com/docs/books/tutorial/networking/index.html, especially the part on working with URLs.

Regards, Pavel.