Re: getting multipart requests

2003-06-13 Thread Martin Cooper
Daniel B [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've been scratching my head over how to get multipart data across the wire, and I was wondering if I could get a little help. Given the following in my .jsp: html:form action=/FileUploadSubmit enctype=multipart/form-data

getting multipart requests

2003-06-12 Thread Daniel B
I've been scratching my head over how to get multipart data across the wire, and I was wondering if I could get a little help. Given the following in my .jsp: html:form action=/FileUploadSubmit enctype=multipart/form-data method=POST html:file property=file/ html:submit/ /html:form (the

Re: getting multipart requests

2003-06-12 Thread Dan Eklund
I just went through this myself... I don't know anything about the setMultipartRequestHandler() method, but what I did was set the file data type to be of type org.apache.struts.upload.FormFile once you have this object, you can customize the file name, etc see the javadocs:

RE: getting multipart requests

2003-06-12 Thread Daniel B
Thank you! This was precisely what I needed. -Original Message- From: Dan Eklund [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 2:24 PM To: Struts Users Mailing List Subject: Re: getting multipart requests I just went through this myself... I don't know anything about