Rob Spoor wrote:Check out HttpClient. The server needs to have a servlet, JSP page, PHP page, etc that can handle the uploaded files.
Moving to Sockets and Internet Protocols since it's not directly related to user interfaces, other than the JFileChooser you may need to select the files.
thanks for replying
I m using JFileChooser option to give the file selection facility but now problem is with attachment
as m working on desktop application with jboss server.........as i read from net there a java mail functionality to implement such kind of things....but i m not implementing mail type concept.i just want to give attachment facility where user can attach there document.i m also confuse where i should i save the attachment file on database or on server.