U could try sending it as an attachment in a SOPA message -----Original Message----- From: Steve Bosman [mailto:[EMAIL PROTECTED] Sent: 22 June 2006 11:27 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: How can I transfer a file to a struts based web application from a java application
Thanks, but I don't see how JFileChooser will help - my application can already obtain a File what I don't get is how to transfer the file via http to be processed by the struts application. Steve On 6/19/06, Mukta <[EMAIL PROTECTED]> wrote: > Try using JFileChooser > > > -----Original Message----- > From: Steve Bosman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 2:58 PM > To: Struts User Mailing List > Subject: How can I transfer a file to a struts based web application from a > java application > > Hi, > > I have a struts 1.1 application with an Action that processes a file > obtained using an ActionForm containing a > org.apache.struts.upload.FormFile parameter, I want to use this action > from a java application and would be really grateful if someone could > give me pointers on how to do this using URLConnection. I've used > URLConnection before, it's just the file transfer that has me stumped. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- -------- The Northgate IS Content Screening and Inspection system has scanned this message for malicious and inappropriate content and none was found. Please take care when opening attachments even when these are expected and from known and trusted sources. ---------------------------------------------------------------------------- -------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]