[OT RANT] Re: multiple FileUpload Problem

2009-06-14 Thread Dave Newton
Martin Gainty wrote: [200 lines of config, JSP, Java, and JavaDocs] We should strive for clarity when helping people. When questions are prompted by lack of documentation specificity it's even *more* crucial. Needlessly verbose responses obfuscate the essence of answers, and present a cogni

RE: multiple FileUpload Problem

2009-06-14 Thread Martin Gainty
ssage sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sun, 14 Jun 2009 09:00:05

Re: multiple FileUpload Problem

2009-06-14 Thread Dave Newton
lampa wrote: According to Struts 2 , the "name" must be assigned as "upload". However, why not the "name" are assigned to different value? just like it : If so, we can very clear that which input tag submit the upload file in the JSP. Because after upload file is submitted, the upl

multiple FileUpload Problem

2009-06-14 Thread lampa
this message in context: http://www.nabble.com/multiple-FileUpload-Problem-tp24023039p24023039.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addit

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread Dave Newton
--- saint_john <[EMAIL PROTECTED]> wrote: > yes, i have to do something like prepare(). > But struts behavior is very doubtful in case of validation error - it's I > DECIDE where execution control should flow (i mean INPUT result, SUCCESS or > ERROR or whatever i want), not struts. Then don't use

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread saint_john
you'd do that in addActionError(), though. That's > what > prepare() etc. are for, isn't it? > > d. > > -- View this message in context: http://www.nabble.com/FileUpload-problem-for-files-larger-than-allowed-tp14600740p14602541.html Sent from the

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread Dave Newton
> > d. > > > > > > --------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in c

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread saint_john
; > d. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/File

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread Dave Newton
--- saint_john <[EMAIL PROTECTED]> wrote: > Yes, my action's addActionError() was called, but not the execute() method. > It is very sad what I should fill view data inside addActionError() instead > of execute(). execute() isn't called if there's a validation error. I don't know what you're refe

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread saint_john
on control back to my action? Does there >> exist any params to change this behaviour? >> >> Thanks in advance. >> >> >> Environment: >> Struts 2.0.11, commons-fileupload 1.2 >> -- >> View th

Re: FileUpload problem for files larger than allowed

2008-01-03 Thread Dave Newton
;t pass execution control back to my action? Does there > exist any params to change this behaviour? > > Thanks in advance. > > > Environment: > Struts 2.0.11, commons-fileupload 1.2 > -- > View this message in context: > http://www.nabble.com/FileUpload-problem-for-file

FileUpload problem for files larger than allowed

2008-01-03 Thread saint_john
ejects the request and stops further action invocations. Why struts doesn't pass execution control back to my action? Does there exist any params to change this behaviour? Thanks in advance. Environment: Struts 2.0.11, commons-fileupload 1.2 -- View this message in context: http://www.nabble

Re: FileUpload problem for empty files.

2008-01-03 Thread Michał Letyński
I found that there is a Treshold parameter, here is short info: / "Sets the size threshold beyond which files are written directly to disk." /This paramater is set to 0. So my attachment is not written to disk but is keeped in memory. In struts 1 this parameters was set to 262144. But my problem

FileUpload problem for empty files.

2008-01-03 Thread Michał Letyński
Hi. Im using struts 2 s:file tag for uploading files. But it does not work for empty files -> 0bytes. Temp file is not created in tomcat tmp directory. Why ? Is it a struts bug ? - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Fw: FileUpload problem

2007-02-22 Thread Laurie Harper
rlier?? Please help. thanks & regards Nagraj. - Original Message - From: Nagraj Rao To: Struts Users Mailing List Sent: Wednesday, February 21, 2007 5:06 PM Subject: Fw: FileUpload problem Also i think i'm using the right set of dependencies commons-io-1.3.1 commons-

Fw: FileUpload problem

2007-02-22 Thread Nagraj Rao
Has anybody faced this problem for multiple file-uploading earlier?? Please help. thanks & regards Nagraj. - Original Message - From: Nagraj Rao To: Struts Users Mailing List Sent: Wednesday, February 21, 2007 5:06 PM Subject: Fw: FileUpload problem Also i think i'm

Fw: FileUpload problem

2007-02-21 Thread Nagraj Rao
Also i think i'm using the right set of dependencies commons-io-1.3.1 commons-collection 3.2 commons-fileupload-1.1.1 - Original Message - From: Nagraj Rao To: Struts Users Mailing List Sent: Wednesday, February 21, 2007 5:04 PM Subject: FileUpload problem Hi I'v

FileUpload problem

2007-02-21 Thread Nagraj Rao
Hi I've recently upgraded my app to work with Struts 2.0.5. Sometimes i'm getting this problem, specially when i try to upload 2 or more files concurrently java.lang.RuntimeException: Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest () - [unknown location] com.ope

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread Laurie Harper
Do you get the same problem submitting over http instead of https? If so, you can use a packet sniffer to see what's actually being submitted to figure out what IE's doing wrong. Otherwise you could try writing a filter to dump the raw request (the filter would need to keep a copy of the reques

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
Yes I have multipart/form-data in my jsp . --- Laurie Harper <[EMAIL PROTECTED]> wrote: > What does your tag look like? Are you sure > you've specified > method="POST" and enctype="multipart/form-data"? > > L. > > temp temp wrote: > > > > > > > > > > >I am using jakarta commo

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread Laurie Harper
What does your tag look like? Are you sure you've specified method="POST" and enctype="multipart/form-data"? L. temp temp wrote: I am using jakarta commons fileupload to upload a file . It worked fine with Internet explorer and netscape navigator with http protocol. I configured

[Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
I am using jakarta commons fileupload to upload a file . It worked fine with Internet explorer and netscape navigator with http protocol. I configured my server to use https protocol. I tried to upload a file it worked fine with netscape but did not work with internet explorer. I am