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
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
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:
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
4 matches
Mail list logo