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 a

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
Thanks for the expos. :) So it's worse than I feared! Well, I shall just come up with a convincing error message in those situations where I would have needed it, rather than try to force a square peg somewhere it doesn't want to go. Adam On 03/01/2004 08:23 PM Martin Cooper wrote: I'm going

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

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: 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

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

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

Re: file upload problem

2003-08-18 Thread Prashanth.S
hi brian, try changing the folder permission from read-only??Its just a guess Thanks Prashanth Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I'm trying to do a file upload action based on the example struts-upload.war. I want to save the uploaded file to a folder on disk. However when I try

RE: file upload problem

2003-08-18 Thread Brian McSweeney
Thanks Prashanth, But I don't think that's the problem. Thanks anyway though, Brian -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 11:44 To: Struts Users Mailing List Subject: Re: file upload problem hi brian, try changing the folder permission from

RE: file upload problem

2003-08-18 Thread Witbeck, Shane
Users Mailing List' Subject: RE: file upload problem Thanks Prashanth, But I don't think that's the problem. Thanks anyway though, Brian -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 11:44 To: Struts Users Mailing List Subject: Re: file upload problem

RE: file upload problem

2003-08-18 Thread Brian McSweeney
Shane, You are a star! That fixed it! Thanks very much, Brian -Original Message- From: Witbeck, Shane [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 14:17 To: [EMAIL PROTECTED] Subject: RE: file upload problem I had a similar problem until I realized that you must specify a file

RE: file upload problem

2003-08-18 Thread Erez Efrati
an action, is this wise? Thanks a bunch, Erez -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 3:46 PM To: 'Struts Users Mailing List' Subject: RE: file upload problem Shane, You are a star! That fixed it! Thanks very much, Brian

Re: file upload problem

2003-08-18 Thread Evan Schnell
Erez Efrati wrote: I am dealing as well with the file upload issue: 2) I could always store those files in the database but then I would have to access them through an action, is this wise? Yes. I'm a strong proponent of storage in a database. Not only is a BLOB the ultimate quarantine

RE: file upload problem

2003-08-18 Thread Erez Efrati
that I missed ? Thanks, Erez -Original Message- From: Evan Schnell [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 4:24 PM To: Struts Users Mailing List Subject: Re: file upload problem Erez Efrati wrote: I am dealing as well with the file upload issue: 2) I could always

[ot] Virus checking blobs was [Re: file upload problem]

2003-08-18 Thread Mark Lowe
Evan That's interesting about storing files as BLOB's and the bit about viruses checking. How do the mechanics of the virus checking work? Are there any virus checkers that can check while everything's stored in the db? Sounds interesting. Cheers Mark On Monday, August 18, 2003, at 03:24 PM,

RE: file upload problem

2003-08-18 Thread Brian McSweeney
PROTECTED] Sent: 18 August 2003 16:33 To: 'Struts Users Mailing List' Subject: RE: file upload problem Thing is I do need a very high downloading of files, so I guess the directory option is more appropriate. What do you mean by a directory served by your web server? I am working with JBoss

Re: [ot] Virus checking blobs was [Re: file upload problem]

2003-08-18 Thread Evan Schnell
Mark Lowe wrote: Evan That's interesting about storing files as BLOB's and the bit about viruses checking. How do the mechanics of the virus checking work? Are there any virus checkers that can check while everything's stored in the db? Sounds interesting. I doubt something is out there that

RE: file upload problem

2003-08-18 Thread Witbeck, Shane
an Alias entry to the virtual host. You will have to check your container's docs for your specific environment. -Shane -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 10:47 AM To: 'Struts Users Mailing List' Subject: RE: file upload problem I

RE: file upload problem

2003-08-18 Thread Brian McSweeney
Thanks Shane, Will try this approach. Brian -Original Message- From: Witbeck, Shane [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 16:10 To: [EMAIL PROTECTED] Subject: RE: file upload problem Generally I add a virtual directory to my web container. This allows you to map a context

File Upload problem and Size Validation

2003-03-11 Thread Hemanth Setty
Hi all, I am havig a problem on FileUploads in RC1...This problem occurs when I use the FormFile feature of struts. If the size of the file is lesser than the limit specified by the controller, everything seems to work fine...but when the size exceeds the limit then it fails on the validate()

RE: file upload problem

2002-09-23 Thread Nicolas Robert
. Nicolas -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: vendredi 20 septembre 2002 21:41 To: Struts Users Mailing List Subject: file upload problem hello again, so i am trying to implement a file upload feature in my application, and i think i have everything setup

file upload problem

2002-09-20 Thread Mark Silva
hello again, so i am trying to implement a file upload feature in my application, and i think i have everything setup correctly, but i am getting this error on submission. javax.servlet.ServletException: BeanUtils.populate java.lang.IllegalArgumentException: argument type mismatch i feel that

Re: file upload problem

2002-09-20 Thread Tiago Nodari
look at the file upload example that if I am not mistaken comes with struts... tiago ps FormFile and dont forget to set the content type At 12:40 PM 9/20/2002 -0700, you wrote: hello again, so i am trying to implement a file upload feature in my application, and i think

RE: file upload problem

2002-09-20 Thread Martin Cooper
: Friday, September 20, 2002 12:41 PM To: Struts Users Mailing List Subject: file upload problem hello again, so i am trying to implement a file upload feature in my application, and i think i have everything setup correctly, but i am getting this error on submission

RE: file upload problem

2002-09-20 Thread Galbreath, Mark
To: Struts Users Mailing List Subject: file upload problem hello again, so i am trying to implement a file upload feature in my application, and i think i have everything setup correctly, but i am getting this error on submission. javax.servlet.ServletException: BeanUtils.populate

RE: file upload problem

2002-09-20 Thread Mark Silva
, that i am importing into the database. thanks, mark -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:43 PM To: 'Struts Users Mailing List' Subject: RE: file upload problem What version of Struts are you using? You should take a look

RE: file upload problem

2002-09-20 Thread Tiago Nodari
PROTECTED]] Sent: Friday, September 20, 2002 12:43 PM To: 'Struts Users Mailing List' Subject: RE: file upload problem What version of Struts are you using? You should take a look at the sources for the struts-upload sample application that comes with Struts. That will give you a working example

RE: file upload problem

2002-09-20 Thread Martin Cooper
-Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:28 PM To: Struts Users Mailing List Subject: RE: file upload problem I am using version 1.0.2. I would strongly encourage you to move to Struts 1.1-b2 if you can. It uses a new

Struts 1.0.2 file upload problem, was working with Struts 0.5

2002-08-21 Thread Hareesh Subramanya
I am in the process of upgrading our application to struts 1.0.2 from struts 0.5 ( I know it should have been done a lot earlier but still ... ) Everything is working as excepted except for this one problem when I try to upload a file : java.lang.IllegalArgumentException: argument type mismatch

File upload problem (STILL)

2002-05-12 Thread @Basebeans.com
Subject: File upload problem (STILL) From: Maurice Mills [EMAIL PROTECTED] === Maurice Mills wrote: I have a form and action that uploads a file. Everything works until processing leaves the execute method of the Action class. After that, Apache throws a ClassCastExcpetion

RE: File Upload Problem.

2001-11-30 Thread Jon.Ridgway
Users Mailing List; 'Struts Users Mailing List' Subject: RE: File Upload Problem. Hi Jon, I am trying to do file upload programatically, not using the browser and I want to use the struts file upload library to achieve this. So I want to try the library first by writing a simple html file

RE: File Upload Problem.

2001-11-30 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
: File Upload Problem. Hi Jon, I am trying to do file upload programatically, not using the browser and I want to use the struts file upload library to achieve this. So I want to try the library first by writing a simple html file and a simple servlet for testing. Does this mean that I cannot use

RE: File Upload Problem.

2001-11-29 Thread Jon.Ridgway
To: [EMAIL PROTECTED] Subject: File Upload Problem. Hello, I was writing some upload code to test the use of MultipartIterator class. My html code is as follows: - BODY BGCOLOR=FF h1 MULTIPART TEST/h1 FORM NAME=loadfile ACTION=/MDC/servlet/servlet

RE: File Upload Problem.

2001-11-29 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
of MultipartIterator, I'm not sure what the problem could be there. -Original Message- From: Marli Satyadi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 8:23 PM To: [EMAIL PROTECTED] Subject: File Upload Problem. Hello, I was writing some upload code to test the use

RE: File Upload Problem.

2001-11-29 Thread Marli Satyadi
- From: Marli Satyadi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 8:23 PM To: [EMAIL PROTECTED] Subject: File Upload Problem. Hello, I was writing some upload code to test the use of MultipartIterator class. My html code is as follows

RE: File Upload Problem.

2001-11-29 Thread Marli Satyadi
Message- From: Marli Satyadi [mailto:[EMAIL PROTECTED]] Sent: 29 November 2001 01:23 To: [EMAIL PROTECTED] Subject: File Upload Problem. Hello, I was writing some upload code to test the use of MultipartIterator class. My html code is as follows: - BODY

File Upload Problem.

2001-11-28 Thread Marli Satyadi
Hello, I was writing some upload code to test the use of MultipartIterator class. My html code is as follows: - BODY BGCOLOR=FF h1 MULTIPART TEST/h1 FORM NAME=loadfile ACTION=/MDC/servlet/servlet/com.cisco.nm.callhome.servlet.TestServlet

File Upload Problem

2001-10-04 Thread Hansen, Susan
Hi, Does anybody know what I can do to resolve the following problem with the file upload? Summary of problem: I am using the struts nightly build from 10-4-2001 and java version 1.3.1_01. I have the maxFileSize set to 10M. The file I am loading is around 7M. The file upload works great

RE: File Upload Problem

2001-10-04 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
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

Re: File Upload Problem

2001-10-04 Thread Hansen, Susan
Hi Tom, Thanks, my file uploads with no problem. On Thursday 04 October 2001 12:38 pm, Tom Tibbetts wrote: Hi Susan. Go to Bugzilla and look up bug #3702 and download the the last two attachments and build them under the struts.upload package. This should get you by until the code owner for

File upload problem in Struts 1.0

2001-07-23 Thread Imran Zafer
We have recently switched to Struts 1.0 from a previous beta version. After migrating we are having problems in uploading certain files. The files do get uploaded to the server but the contents get corrupted some times. We further investigate this problem and found out that files get damaged when

File Upload Problem

2001-06-26 Thread Darryl Pentz
Hi all, Has anyone else experienced problems with the file upload lately? I'm finding that uploaded files are being corrupted. It doesn't seem to matter what type the document is. I've found an Excel spreadsheet and a Word document that have displayed problems. It seems, doing a binary compare,

RE: File Upload Problem

2001-06-26 Thread Krueger, Jeff
I just got done fighting this problem for the last week. Upgrade to struts 1.0 and that will solve your problem. Jeff Krueger -Original Message- From: Darryl Pentz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 4:38 AM To: [EMAIL PROTECTED] Subject: File Upload Problem Hi

RE: File Upload Problem

2001-06-26 Thread Darryl Pentz
. - Darryl -Original Message- From: Krueger, Jeff [mailto:[EMAIL PROTECTED]] Sent: 26 June 2001 13:22 To: [EMAIL PROTECTED] Subject: RE: File Upload Problem I just got done fighting this problem for the last week. Upgrade to struts 1.0 and that will solve your problem. Jeff Krueger