Re: File upload location

2004-03-24 Thread Mark Shifman
Deepak wrote: Hi, What is the default location of a file uploaded using html:file ? Can I upload it to one of the folders in my context path ? It goes someplace temporary. If you look at the src for the UploadAction example in Struts, it shows how to save the temporary file. I create a

File upload location

2004-03-23 Thread Deepak
Hi, What is the default location of a file uploaded using html:file ? Can I upload it to one of the folders in my context path ? thanks Deepak

Recommend file upload progress bar

2004-03-20 Thread Frank Burns
I have a requirement to display a progress bar while performing file uploads. I've found several frameworks that provide this functionality. However, can you recommend an existing *best* solution -- preferably off-the-shelf -- for use with Struts? Thanks, Frank

Re: Recommend file upload progress bar

2004-03-20 Thread Max Cooper
See the thread File-Upload: Progress-Bar that has been going on over the last few days. -Max - Original Message - From: Frank Burns [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, March 20, 2004 1:57 AM Subject: Recommend file upload progress bar I

File-Upload: Progress-Bar

2004-03-19 Thread Tim . Adler
Hello everybody! I'm up to the task to implement a progress bar for File-Uploads, cause the files that are uploaded to my Webapp can be quite large. Well as usual this problem is not easily solved on the HTTP-Browser upload side. I'm using Struts here so I'm also using the commons/FileUpload.

Re: File-Upload: Progress-Bar

2004-03-19 Thread Max Cooper
. The form submit with the file upload input element will be uploading the file for a while. When it finishes, it will indicate that the file upload with UUID=234344 has completed to some server-side upload-tracking subsystem. Then it will forward or redirect to whatever page the user should see when

AW: File-Upload: Progress-Bar

2004-03-19 Thread Tim . Adler
to that method in the Action?! And if that is so, do I have to parse the Multipart-Request by myself then?? -Ursprüngliche Nachricht- Von: Max Cooper [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 19. März 2004 12:03 An: Struts Users Mailing List Betreff: Re: File-Upload: Progress-Bar A simpler

Re: File-Upload: Progress-Bar

2004-03-19 Thread Joe Germuska
At 10:31 AM +0100 3/19/04, [EMAIL PROTECTED] wrote: I'm up to the task to implement a progress bar for File-Uploads ... My question: Has anybody done something like this with Struts before and can give me some little advise? I think someone is working on this, or at least has posted a bugzilla

RE: File-Upload: Progress-Bar

2004-03-19 Thread JoAnn Lemm
or not the multipart message contains the filesize. --JoAnn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 2:31 AM To: [EMAIL PROTECTED] Subject: File-Upload: Progress-Bar Hello everybody! I'm up to the task to implement a progress

Re: File-Upload: Progress-Bar

2004-03-19 Thread Michael McGrady
Check the archives. There has been a lot on this. At 01:31 AM 3/19/2004, you wrote: Hello everybody! I'm up to the task to implement a progress bar for File-Uploads, cause the files that are uploaded to my Webapp can be quite large. Well as usual this problem is not easily solved on the

RE: File-Upload: Progress-Bar

2004-03-19 Thread Matthias Wessendorf
PROTECTED] Subject: File-Upload: Progress-Bar Hello everybody! I'm up to the task to implement a progress bar for File-Uploads, cause the files that are uploaded to my Webapp can be quite large. Well as usual this problem is not easily solved on the HTTP-Browser upload side. I'm using Struts here so

Re: File-Upload: Progress-Bar

2004-03-19 Thread Martin Cooper
Joe Germuska [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:31 AM +0100 3/19/04, [EMAIL PROTECTED] wrote: I'm up to the task to implement a progress bar for File-Uploads ... My question: Has anybody done something like this with Struts before and can give me some little

RE: File-Upload: Progress-Bar : Mega Upload

2004-03-19 Thread Dhaliwal, Pritpal (HQP)
.. Pritpal Dhaliwal -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:39 AM To: [EMAIL PROTECTED] Subject: Re: File-Upload: Progress-Bar Joe Germuska [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:31 AM +0100 3/19/04, [EMAIL

Re: multipart-request / file upload problem

2004-03-01 Thread Adam Hardy
I'm going to put this another way: what's the secret with file upload requests? I can't see my file parameter in the request parameters when I submit the form with the multipart-request. Adam On 02/29/2004 07:05 PM Adam Hardy wrote: I use the Commons multipart request handler stuff to set up

Re: multipart-request / file upload problem

2004-03-01 Thread Martin Cooper
Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm going to put this another way: what's the secret with file upload requests? I can't see my file parameter in the request parameters when I submit the form with the multipart-request. Ah, if I told you that, it wouldn't

Re: multipart-request / file upload problem

2004-03-01 Thread Adam Hardy
to put this another way: what's the secret with file upload requests? I can't see my file parameter in the request parameters when I submit the form with the multipart-request. Ah, if I told you that, it wouldn't be a secret any more, now would it? ;-) The biggest difference with multipart

multipart-request / file upload problem

2004-02-29 Thread Adam Hardy
I use the Commons multipart request handler stuff to set up a DynaActionForm properly for my file upload so: form-bean name=linklibImportForm type=org.apache.struts.validator.DynaValidatorActionForm form-property name=bookmarksFile type

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Did you change the form definition to enctype=multipart/form-data yet? Yes, that is set correctly. Here's what it renders as HTML: form name=pollForm method=post action=/mafo2-dev/editPollSubmit.do enctype=multipart/form-data id=theForm Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Hello Carl-Eric, What browser you used for testing? Opera have bug when upload field in form is null. I'm using Mozilla Firefox and IE6, but this happens *before* the form is even displayed. I'm only going to the page where it should show up, and get the mentioned error message instead.

Re: File Upload and DynaActionForm?

2004-02-18 Thread Robert McBride
I don't believe that DynaActionForm supports the org.apache.struts.upload.FormFile type. See: http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes -Rob Carl-Eric Menzel wrote: Hello, I'm having trouble getting file upload working when using

File Upload and DynaActionForm?

2004-02-17 Thread Carl-Eric Menzel
Hello, I'm having trouble getting file upload working when using a DynaAction form. Here are the relevant parts: form-bean name=pollForm type=org.apache.struts.action.DynaActionForm form-property name=active type=java.lang.Boolean

Re: File Upload and DynaActionForm?

2004-02-17 Thread Hubert Rabago
Did you change the form definition to enctype=multipart/form-data yet? --- Carl-Eric Menzel [EMAIL PROTECTED] wrote: Hello, I'm having trouble getting file upload working when using a DynaAction form. Here are the relevant parts: form-bean name=pollForm

Re: File Upload and DynaActionForm?

2004-02-17 Thread A3T
Hello Carl-Eric, What browser you used for testing? Opera have bug when upload field in form is null. Wednesday, February 18, 2004, 5:45:24 AM, you wrote: CEM Hello, CEM I'm having trouble getting file upload working when using a DynaAction CEM form. Here are the relevant parts: CEM

File Upload using Struts

2004-02-03 Thread Gandhi, Snehal Kishore (Cognizant)
Hi all, i'm a new bee of struts... i want to use the Struts based upload option. 1. What should be the data type in my ActionForm? 2. How will i get the FileObject in my action class? and How can i pass the file to the Server? 4. if any sample upload code using struts would be really

RE: File Upload using Struts

2004-02-03 Thread Manjunath Bhat
] Subject: File Upload using Struts Hi all, i'm a new bee of struts... i want to use the Struts based upload option. 1. What should be the data type in my ActionForm? 2. How will i get the FileObject in my action class? and How can i pass the file to the Server? 4. if any sample upload code

? File Upload bug for uploading files with French Character

2004-01-07 Thread Saul Q Yuan
Hi, I am trying to upload files with French characters, but all the French characters are replaced as ? in the file. The enviroment is: Tomcat4.0.3, Linux. I wonder if this is a bug with the version of Tomcat4.0.3 for Linux. thanks advance for any help. Saul

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Patrick Scheuerer
stage than you. Could you please post some of your code on how to handle the file upload in the action class? I'm having problems to figure out how to write the file to a subdirectory of my web application root. Your help would be highly appreciated! Thank you, Patrick

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
with File upload (multipart-formdata) Brice Ruth wrote: I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown: Hi Brice, I'm also struggling with file uploads

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Brice Ruth
Martin Cooper wrote: Brice Ruth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown:

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Patrick Scheuerer
Matthias Wessendorf wrote: Hi Patrick, you want to get the path of /myapp like C:\Tomcat\webapps\myapp or? That's exactly what i was trying to do! in an actionClass you now want to store in placeString\uploaddir isn´t it? Right again :-) i wrote an Util-Class which managed the storage in my

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
is then in root. hope this is what you needed. greetings matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 5:15 PM To: Struts Users Mailing List Subject: Re: Still having problems with File upload (multipart-formdata) Matthias

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread David Erickson
construktor ;P - Original Message - From: Matthias Wessendorf [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:29 AM Subject: RE: Still having problems with File upload (multipart-formdata) Hi Patrick, okay attched is my class

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
; } } -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 5:37 PM To: Struts Users Mailing List Subject: Re: Still having problems with File upload (multipart-formdata) construktor ;P - Original Message - From: Matthias Wessendorf [EMAIL

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Patrick Scheuerer
This is exactly what i was looking for! Thank you very much for your help Matthias. Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Craig R. McClanahan
Quoting Patrick Scheuerer [EMAIL PROTECTED]: Matthias Wessendorf wrote: Hi Patrick, you want to get the path of /myapp like C:\Tomcat\webapps\myapp or? That's exactly what i was trying to do! in an actionClass you now want to store in placeString\uploaddir isn´t it?

File Upload Validator

2003-12-29 Thread Patrick Scheuerer
Hi, I have to validate a form which collects all the data connected with a document. Allong with discriptive information there's also a html:file element to upload the file itself. So far use a DynaValidatorForm to do validation. Everything works fine for the text based form elements. I would

RE: File Upload Validator

2003-12-29 Thread Matthias Wessendorf
hi, use controller maxFileSize=1M/ set this in struts-config for maxFileSize. look at file-upload-sample in your struts-distribution There cames an error, if the file is bigger. greetings matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Monday

Still having problems with File upload (multipart-formdata)

2003-12-29 Thread Brice Ruth
I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException

Re: Still having problems with File upload (multipart-formdata)

2003-12-29 Thread Martin Cooper
Brice Ruth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown: java.lang.NoClassDefFoundError:

File Upload Problems

2003-12-29 Thread Patrick Scheuerer
on a the file category chosen in the file upload form. Another thing I don't know is, how I can retrieve the base path of my web application. I tried something like this: String savingLocation = new String

Re: File Upload

2003-12-26 Thread Martin Cooper
-Original Message- From: Jacob Ginu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 9:48 PM To: [EMAIL PROTECTED] Subject: reg:File Upload Hi, Can anyone send me a sample file Upload program. Regards, Ginu - Do you Yahoo!? Yahoo! Photos - Get

RE: File Upload

2003-12-25 Thread David Friedman
: Jacob Ginu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 10:03 PM To: Struts Users Mailing List Subject: RE: File Upload Hi, This is the sample code I am using in the action.java file.I have the necessary struts file.But it says Unable to find ServletActionContext

RE: File Upload

2003-12-25 Thread Jacob Ginu
-Original Message- From: Jacob Ginu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 10:03 PM To: Struts Users Mailing List Subject: RE: File Upload Hi, This is the sample code I am using in the action.java file.I have the necessary struts file.But it says Unable to find

RE: File Upload

2003-12-25 Thread David Friedman
Message- From: Jacob Ginu [mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 9:30 PM To: Struts Users Mailing List Subject: RE: File Upload David, No one has got back to me on this except you.There seems to be not much info regarding this.Iam going throught the link you sent me. I tried

RE: File Upload

2003-12-23 Thread David Friedman
Why won't you use the struts-upload.war from the Struts distributions? Regards, David -Original Message- From: Jacob Ginu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 9:48 PM To: [EMAIL PROTECTED] Subject: reg:File Upload Hi, Can anyone send me a sample file Upload

RE: File Upload

2003-12-23 Thread Jacob Ginu
anyone send me a sample file Upload program. Regards, Ginu - Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square - To unsubscribe, e-mail: [EMAIL PROTECTED

[ANNOUNCE] Carrier 2.0b3 with Unbreakable App Flows and File Upload/Download

2003-12-22 Thread Jing Zhou
Greetings! Carrier 2.0b3 and its core source codes are available now. Carrier is built on top of Struts and enables non-programming designers to compose and exchange web form based messages. With this release, the designers could compose web forms with a fixed number or dynamic number of file

Re: file upload

2003-11-16 Thread Caoilte O'Connor
i've not used dynaforms with fileupload so if that is the problem I couldn't say. you could try it with a normal formBean. However as the problem is trying to set a formfile using a string it looks like the problem could be in your jsp. have you set the enctype like below, html:form

file upload

2003-11-14 Thread sairam manda
Hello Sir, I am new to sturts . I want to upload a file . I am using dynaform . these are snippets in the dynaform I used form-property name=pb_file type=org.apache.struts.upload.FormFile/ and in my action class I used the following code FormFile file = (FormFile) form.get(pb_file); I

File upload problem with Struts 1.1

2003-11-12 Thread Raman Garg
Hi, We are getting error while file uploading using struts 1.1. We have a demo code for file uploading which demostrates the file uploading using struts. When we run there application code works fine but when we submit the form by setting enctype for the form it throws the following error.

Re: File upload problem with Struts 1.1

2003-11-12 Thread Caoilte O'Connor
have you got the commons-upload jar in your lib dir? you need that as well as the struts jars. Also check your controller (in struts-config) has something like this (though i think it's optional actually), controller maxFileSize=300K / c On Wednesday 12 November 2003 08:18,

Re: File upload problem with Struts 1.1

2003-11-12 Thread Garg Raman \(SDinc\)
development server Any other suggestion will be appreciated . Looking forward to hear from you. Cheers Raman Garg - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: File upload problem with Struts 1.1

Re: File upload problem with Struts 1.1

2003-11-12 Thread Caoilte O'Connor
you. Cheers Raman Garg - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: File upload problem with Struts 1.1 have you got the commons-upload jar in your lib dir? you need that as well

Re: File upload problem with Struts 1.1

2003-11-12 Thread Martin Cooper
This usually happens when you have your jars in the wrong place and your container also includes (a different version of) FileUpload. Make sure that the Commons FileUpload jar file, as well as the Struts jar file and other Commons jar files, are in your WEB-INF/lib directory, and not in a

Re: Struts php file upload

2003-10-23 Thread Martin Cooper
Craig R. McClanahan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rajat Pandit wrote: Hello, I had this thought this morning, please excuse me if it seems rather silly. But I was wondering if there is a possibility for accessing the information put in the session or request

Struts php file upload

2003-10-22 Thread Rajat Pandit
Hello, I had this thought this morning, please excuse me if it seems rather silly. But I was wondering if there is a possibility for accessing the information put in the session or request scope by the servlet via php. I came up with this idea when I had to learn how the http upload thing works.

RE: Struts php file upload

2003-10-22 Thread Daniel Washusen
-Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 October 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Struts php file upload Hello, I had this thought this morning, please excuse me if it seems rather silly. But I was wondering

Re: Struts php file upload

2003-10-22 Thread Craig R. McClanahan
Rajat Pandit wrote: Hello, I had this thought this morning, please excuse me if it seems rather silly. But I was wondering if there is a possibility for accessing the information put in the session or request scope by the servlet via php. I came up with this idea when I had to learn how the http

Re: file upload and IllegalArgumentException:

2003-10-02 Thread Franck Lefebure
Hi, the enc-type is described in the jsp. in Struts-config I just have : form-beans form-bean name=serverForm type=com.orange.struts.beans.servers.ServerForm/ /form-beans action name=serverForm path=/doServer input=/doServer.do scope=request

Re: file upload and IllegalArgumentException: FOUND !

2003-10-02 Thread Franck Lefebure
Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 02, 2003 9:15 AM Subject: Re: file upload and IllegalArgumentException: Hi, the enc-type is described in the jsp. in Struts-config I just have : form-beans form-bean name=serverForm type

file upload and IllegalArgumentException:

2003-10-01 Thread Franck Lefebure
Hi, I have an action form html:form action=/doServer focus=name method=post enctype=multipart/form-data with an html:file property='file' the file of this form is optional. but if the user doesn't choose file before submit then there is an IllegalArgumentException (stacktrace below): I put

RE: Slow file upload?

2003-09-16 Thread Mohd Amin Mohd Din
Hmm, just checking, are you doing any processing other than just simply storing the file. -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 12:51 PM To: Struts Users Mailing List Subject: Re: Slow file upload? On Tue, 2003-09-16 at 06

RE: Slow file upload?

2003-09-16 Thread Bjørn T Johansen
Users Mailing List Subject: Re: Slow file upload? On Tue, 2003-09-16 at 06:19, Robert Leland wrote: Bjørn T Johansen wrote: On Tue, 2003-09-16 at 04:12, Robert Leland wrote: Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile

Re: Slow file upload?

2003-09-16 Thread Sgarlata Matt
Unfortunately I'm not going to have time to set up this experiment for a few weeks because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response that the costs of encoding

Re: Slow file upload?

2003-09-16 Thread as as
because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response that the costs of encoding/decoding the file so it can be sent over HTTP/MIME is much larger than one would suppose

RE: Slow file upload?

2003-09-16 Thread Andrew Hill
far? What went wrong? We could help you better if you ask some more specific questions. -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 September 2003 21:27 To: Struts Users Mailing List Subject: Re: Slow file upload? i am a newbie to struts need help intsalling

RE: Slow file upload?

2003-09-16 Thread Kurt Post
Mailing List Subject: RE: Slow file upload? Yes, I am using Struts 1.1 and the default upload in commons-fileupload. The hw I am running on is a 2.4GHz PC with 1GB memory, with at least half of it free.. The browser I tried the upload with was Mozilla.. BTJ I'm running a P4 1.7 with 512MB

RE: Slow file upload?

2003-09-16 Thread Bjørn T Johansen
buffer to empty enough so it can continue to send more data. -Original Message- From: Daniel Washusen [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 11:54 PM To: Struts Users Mailing List Subject: RE: Slow file upload? Yes, I am using Struts 1.1 and the default upload

RE: Slow file upload?

2003-09-16 Thread Kurt Post
: Tuesday, September 16, 2003 11:04 AM To: Struts Users Mailing List Subject: RE: Slow file upload? I just tried this from another PC running Windows and IE, and then the upload took less than a second.. Is this a bug in Mozilla or? BTJ On Tue, 2003-09-16 at 15:58, Kurt Post wrote: If you

Re: Slow file upload?

2003-09-16 Thread Robert Leland
Sgarlata Matt wrote: Unfortunately I'm not going to have time to set up this experiment for a few weeks because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response

Slow file upload?

2003-09-15 Thread Bjørn T Johansen
I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser on the same PC. Is this normal or should the upload be faster? BTJ

Re: Slow file upload?

2003-09-15 Thread Robert Leland
Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser on the same PC. Is this normal or should the upload be faster? Your upload will be slower

Re: Slow file upload?

2003-09-15 Thread Sgarlata Matt
[EMAIL PROTECTED] Sent: Monday, September 15, 2003 10:12 PM Subject: Re: Slow file upload? Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser

Re: Slow file upload?

2003-09-15 Thread Robert Leland
Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 15, 2003 10:12 PM Subject: Re: Slow file upload? Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server

Re: Slow file upload?

2003-09-15 Thread Bjørn T Johansen
On Tue, 2003-09-16 at 04:12, Robert Leland wrote: Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser on the same PC. Is this normal

RE: Slow file upload?

2003-09-15 Thread Daniel Washusen
Yes, I am using Struts 1.1 and the default upload in commons-fileupload. The hw I am running on is a 2.4GHz PC with 1GB memory, with at least half of it free.. The browser I tried the upload with was Mozilla.. BTJ I'm running a P4 1.7 with 512MB of RAM and I can upload a 1.8 MB file in

Re: Slow file upload?

2003-09-15 Thread Robert Leland
Bjørn T Johansen wrote: On Tue, 2003-09-16 at 04:12, Robert Leland wrote: Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser

RE: Slow file upload?

2003-09-15 Thread Bjørn T Johansen
On Tue, 2003-09-16 at 05:53, Daniel Washusen wrote: Yes, I am using Struts 1.1 and the default upload in commons-fileupload. The hw I am running on is a 2.4GHz PC with 1GB memory, with at least half of it free.. The browser I tried the upload with was Mozilla.. BTJ I'm running a P4

Re: Slow file upload?

2003-09-15 Thread Bjørn T Johansen
On Tue, 2003-09-16 at 06:19, Robert Leland wrote: Bjørn T Johansen wrote: On Tue, 2003-09-16 at 04:12, Robert Leland wrote: Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15

Custom Validator and File Upload

2003-09-03 Thread Octavia Yung
Hi Everyone, I am currently trying to create a custom validator for a file upload form and am unclear as to how to retrieve the value of the File field. I would like to have the object as a FormFile so that I can perform further checks on the file. Are there any examples available to peruse

Help needed in using the file upload to databse tag

2003-09-02 Thread SriDevi C
Hi All, I am new to using Struts. I want to use struts in uploading a file to database.Kindly guide me in this regard. Kindly let me know which tld file to copy and where to copy and what is the tag to use etc It would be very kind of you if anyone can give me a sample code. I am developing

RE: Help needed in using the file upload to databse tag

2003-09-02 Thread Andrew Hill
] Sent: Wednesday, 3 September 2003 13:29 To: [EMAIL PROTECTED] Subject: Help needed in using the file upload to databse tag Importance: High Hi All, I am new to using Struts. I want to use struts in uploading a file to database.Kindly guide me in this regard. Kindly let me know which tld file

Re: File Upload and Request Parameter

2003-08-29 Thread Jason Lea
David Stemm wrote: All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the c:out tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag

RE: Looking for Multiple file upload at once example

2003-08-28 Thread David Friedman
. :) Sorry to bother the list. And shame on me. :( David -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 11:52 PM To: [EMAIL PROTECTED] Subject: Looking for Multiple file upload at once example I'm drawing a blank looking for an example

Looking for Multiple file upload at once example

2003-08-28 Thread David Friedman
I'm drawing a blank looking for an example of uploading 2 or more files at once in Struts 1.1. I'm trying to load 3 pics at once: image, bgImage, and logo. I have String setter's in my ActionFrom so I can store the name of the files, and I'm setting my form enctype to multipart/form-data. I did

RE: Looking for Multiple file upload at once example

2003-08-28 Thread Andrew Hill
Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 11:52 To: [EMAIL PROTECTED] Subject: Looking for Multiple file upload at once example I'm drawing a blank looking for an example of uploading 2 or more files at once in Struts 1.1. I'm trying to load 3 pics

RE: Looking for Multiple file upload at once example

2003-08-28 Thread Andrew Hill
snip The form can populate files if you set the form field to type FormFile, not String as I was using. /snip Ah glad to hear you got it working. Having read your question closer this time I guess that you are providing 3 seperate file upload controls for the files, so the info I was posting

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the c:out tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the c:out tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like

File Upload error

2003-08-21 Thread Erez Efrati
Hi, I am trying to do file uploading of several files and I keep getting the following error: java.lang.NoSuchMethodError: org.apache.commons.fileupload.MultipartStream.setHeaderEncoding(Ljava/la ng/String;)V I am using JBoss/Tomcat 4.1.24. The upload struts sample works just fine under 4.1.27

RE: File Upload error

2003-08-21 Thread Alex Shneyderman
Make sure you do not have another file upload jar in your classpath. Where are you hosting your app, what OS? Alex. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 11:14 AM To: 'Struts Users Mailing List' Subject: File Upload error

RE: File Upload error

2003-08-21 Thread Erez Efrati
, 2003 4:48 PM To: 'Struts Users Mailing List' Subject: RE: File Upload error Make sure you do not have another file upload jar in your classpath. Where are you hosting your app, what OS? Alex. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003

RE: file upload problem

2003-08-20 Thread Brian McSweeney
: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 15:53 To: 'Struts Users Mailing List' Subject: RE: file upload problem I am dealing as well with the file upload issue: 1) To where should I save those files. For one I haven't done this, so this is all new. Also, I am using JBoss and I saw

File Upload Data

2003-08-20 Thread Steven Leija
Hello All, I'm running into a really weird problem. I'm uploading a file in windows and the input stream is just fine. But when I deploy my application to a linux box, the same upload failes. I traced this down to the fact that the input stream is empty. The file is being uploaded but the

RE: file upload problem

2003-08-20 Thread Erez Efrati
not :) Regards, Erez -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 11:59 AM To: 'Struts Users Mailing List' Subject: RE: file upload problem Hi Erez, Just wondering if you figured this out. I've found what I think could be a solution

Re: File Upload Data

2003-08-20 Thread David G. Friedman
related answer you were probably looking for, huh? :( Regards, David ---Original Message--- From: Steven Leija [EMAIL PROTECTED] Sent: 08/20/03 08:58 AM To: Struts Users Mailing List [EMAIL PROTECTED] Subject: File Upload Data Hello All, I'm running into a really weird problem. I'm

Re: File Upload Data

2003-08-20 Thread Shane Witbeck
I have run the same code for my file uploads in windows and linux without a problem. Shane - Original Message - From: David G. Friedman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 7:13 AM Subject: Re: File Upload Data Steven

file upload problem - FileNotFoundException

2003-08-18 Thread Kuba
I have a weird problem using fileupload. Exception stack is (I'm using IBM WSAD): [03-08-18 08:50:34:577 CEST] 613ea32e RequestProces I org.apache.struts.action.RequestProcessor Processing a 'POST' for path '/updateTicket' [03-08-18 08:50:35:027 CEST] 613ea32e WebGroup E SRVE0026E:

RE: file upload problem - FileNotFoundException

2003-08-18 Thread Brian McSweeney
To: [EMAIL PROTECTED] Subject: file upload problem - FileNotFoundException I have a weird problem using fileupload. Exception stack is (I'm using IBM WSAD): [03-08-18 08:50:34:577 CEST] 613ea32e RequestProces I org.apache.struts.action.RequestProcessor Processing a 'POST' for path '/updateTicket

Re: file upload problem - FileNotFoundException

2003-08-18 Thread Kuba
Sounds like we're having similar problems. I'm using JBoss. I got that problem when I didn't have the commons-fileupload.jar in my ejb server's classpath. I know you said you have that, but make sure! i don't think it's the same problem... there is something wrong with my ejb project (my

  1   2   3   4   >