Peter,
This should be fixed as of version 1.0.1, and will definately not be
an issue as in 1.1
-Original Message-
From: Towns, Peter (ANTS) [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 6:48 AM
To: '[EMAIL PROTECTED]'
Subject: File upload - binary file checksum issue
Hi,
I'm
Buenos Dias Sean,
>1. In looking at the current DiskMultipartRequestHandler I can't tell
> whether or not the request that is handed and parsed by the
> MulitpartIterator is already uploaded and complete or is still
> maybe uploading. Since it is reading a stream I assume that the
>
Ken,
Do you have a corresponding ActionForm containing these methods:
public FormFile getFormFile();
public void setFormFile(FormFile file);
-Original Message-
From: Domen, Ken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 12:20 PM
To: '[EMAIL PROTECTED]'
Subject: upload fa
If you mean "multipart form handler" when you say "file upload facility",
here's a few:
The MultipartIterator class, which comes with Struts, you can use to handle
multipart (file upload) posts from forms (this comes out of the javadoc for
Struts):
http://jakarta.apache.org/struts/api-1.0/org/apa
Marli,
Your multipart data seems to be right. Make sure you prefix it with
the normal HTTP headers that go with a multipart request, I think something
like:
Content-Type: multipart/form-data; boundary=...\r\n
--boundary
-same stuff as you had for the multipart data goes here
If you're stil
Hi,
What browser are you using to submit the form? Also,
you may already be aware, but as mentioned by the
other reply there's an easy way to handle multipart
form data in Struts, you can check out the struts-upload
webapp in the distribution for an example.
As with your use of MultipartItera
Hi David,
You don't use DiskMultipartRequestHandler directly.
Multipart form handling is done transparently after
you set up the correct form bean and html form.
See the struts-upload example in the distribution.
-Original Message-
From: Firmin David [mailto:[EMAIL PROTECTED]]
Sent: Thur
Bill,
What version of Struts are you using? This problem
is addressed in the coming 1.0.1 version of Struts and
also should be working fine in the nightly builds.
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 11:15 AM
To: '[EMAIL
Michelle,
What browser are you using? Sometimes it's slower
among different browsers. Also, the example
re-reads the file from disk after it's written
and re-writes it, which can take a little extra
time.
I don't think I ever quite nailed down what makes
file upload slow like you're describin
Hi,
With the default implementation of file upload in Struts,
the data is already written to a temporary file. Using
the FormFile.getInputStream() method, you can read data
from the stream for the temporary file and write it
to wherever you need to to make it an attachment.
public class EmailAc
Hi,
I'll be working on this problem today
- Mike
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 12:21 PM
To: [EMAIL PROTECTED]
Subject: File Upload Problem
Hi,
Does anybody know what I can do to resolve the following problem wi
Ricky,
The maximum upload size is represented as an init-param for ActionServlet:
To set it as an init-param in web.xml:
action
org.apache.struts.action.ActionServlet
maxFileSize
100K
2
The value of "maxFileSize" can be represented as in bytes by not appendi
Rightfully Disgruntled File Upload Users,
I'll set aside some time next week to address
all the file upload issues, I apologize for the
long delay.
In the interim, please use bug reports
(http://nagoya.apache.org/bugzilla/)
to report all file upload issues that you
come across. Check to see if
Min,
Since FormFile is an interface, you're calling on DiskFile.destroy()
regardless.
However, DiskFile.destroy() calls on java.io.File.delete(). I've
encountered
problems in the past with java.io.File.delete() where the file doesn't get
deleted.
I'll file a bug report on this and get to it when
Tom,
There was/is a bug that would cause this to happen. I could
have sworn it was fixed before, but I'm a little confused as to
it's current state, and haven't had time to look at it. You're using
1.0, right?
Also, you have to explicitly get rid of the temp file. One way to do
this is to cal
Title: MultipartRequestWrapper in WebLogic
Mitesh,
What version of Struts are you using? This was
fixed by the 1.0 release.
-Original Message-From: Mitesh Mehta
[mailto:[EMAIL PROTECTED]]Sent: Thursday, June 21, 2001 7:06
PMTo: '[EMAIL PROTECTED]'Cc: Mitesh
MehtaSubject: Multipart
Upgrade HP Bluestone to Maintenence Pack 2, available from here:
http://www.bluestone.com/SaISAPI.dll/SaServletEngine.class/support/patch_dow
nload.jsp
For the drop down product box choose "Total-e-Server" and download
"Maintenence Pack 2"
-Original Message-
From: MCCOLLOUGH,JEFFERY S (
To Anyone It Concerns,
Although I'm relatively new to EJB's, I'm listed on the 1.1 TODO list
to add better EJB support/design patterns. Ideas that anyone has about
things that they'd like Struts to do with EJB's will definately help me
along with this and help Struts quiet this EJB fud. I'm look
Chuck,
Make sure the name of your Form class is LogonForm,
with a capital "L"
-Original Message-From: Chuck Amadi
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 13, 2001
4:57 AMTo: [EMAIL PROTECTED]Subject: errors
during parsing"" struts-logon example-www.bluestone.comHi,
i have
Dave,
You'll just submit POST form data, with the name being the name of the file
input,
and the value being the file path given by the client.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: htm
Jonathan,
> Hello
all.
> I wanted to know
if I am able to use the MultipartRequestWrapper object by itself.
> That is, can I
store MultipartRequestWrapper objects in a bean.
I would definately not recommend it. The
MultipartRequestWrapper object is
something that
should be
us
Hi,
Sorry about not jumping into this conversation, I haven't been around.
If you don't specify multipart/form-data, the information is sent
as POST data, basically just encoded name/value pairs in your
ServletInputStream. So all you're passing is the name of the file
that the client specified.
no! haha!
to remove yourself from the list, send an email
to
[EMAIL PROTECTED]
oh man, too much coffee...
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: Friday, June 01, 2001 4:20
PMTo: [EMAIL PROTECTED]Subject: Re: Potential
Security Flaw in Struts MV
Michael,
Could you give more information on the nature of the failure?
Are any error messages displayed?
Also, what build of Struts
are you using? There was a short period of time (a few days maybe)
where this would be broken. If not already doing so, I'd suggest
you try out a nightly build or
Ken,
I can't seem to reproduce this error using a Win2000 box with
IE 5.0 to a Redhat 7.0 box with Tomcat 3.2.1. with the latest nightly
build.
Is there any
way to check the value of the "javax.servlet.context.tempdir" attribute
set in the ServletContext by Resin?
Or, if you're using the "temp
Andy and Ken,
I've never seen this problem before, but I'll try to get it fixed asap.
-Original Message-
From: Andy Wicks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 1:47 PM
To: [EMAIL PROTECTED]
Subject: enctype.
Hi,
I'm using jakarta-struts-1.0-b1 with a Resin 1.2.5 cont
you could always send an email out to the struts-user list asking
it a few times in caps ;)
-Original Message-
From: Perez, Bill [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 2:27 PM
To: '[EMAIL PROTECTED]'
Subject: PLEASE, I NEED TO UNSUBSCRIBE HOW?!?!!?!?!?!?
PLEASE, I NEE
Mindaugas,
The return type from that hashtable will be String[], not String
-Original Message-
From: Mindaugas Idzelis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 7:08 PM
To: struts
Subject: MultipartRequestHandler broken in nightly builds
Given the following code snippet:
Hunkpapa,
Could you give me more information? What's the enctype of your form? What
OS, Container, and Struts build are you using?
-Original Message-
From: hunkpapa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 3:33 PM
To: [EMAIL PROTECTED]
Subject: ServletException: Multipart
29 matches
Mail list logo