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

RE: file upload problem - FileNotFoundException

2003-08-18 Thread Brian McSweeney
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! -Original Message- From: Kuba [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 10:31 To:

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

RE: file upload problem

2002-09-23 Thread Nicolas Robert
Hello Mark, Before upgrading my struts to beta 2, I was using DiskFile class in my form bean to store the uploaded file. After an upgrade to beta 2, the DiskFile class throws your exception. If you use a DiskFile class to, my solution is to used instead a FormFile class to store uploaded file.

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
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 to refer to. -- Martin Cooper -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent:

RE: file upload problem

2002-09-20 Thread Galbreath, Mark
It's really difficult to help without seeing your code. Are you using html:file property=key / in your html:form? I don't know anything about BeanUtils, but if it acts like java.util.Properties, the key and value are both strings. File uploads are of type multipart/form-data (see experimental

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

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
Hi Marli, I might be missing something here, but you don't appear to be using struts. Are you aware that there is a strurs tag for file upload? Have a look at the struts examples. Jon. -Original Message- From: Marli Satyadi [mailto:[EMAIL PROTECTED]] Sent: 29 November 2001 01:23 To:

RE: File Upload Problem.

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

RE: File Upload Problem.

2001-11-29 Thread Marli Satyadi
Hi Mike, I tested both with IE 6.0 and Netscape 4.5. Both give the same problem. Any idea whether I'm sending the CRLF correctly ? Thanks. Marli. At 07:49 AM 11/29/2001 -0800, SCHACHTER,MICHAEL (HP-NewJersey,ex2) wrote: Hi, What browser are you using to submit the form? Also, you may already

RE: File Upload Problem.

2001-11-29 Thread Marli Satyadi
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 the upload code if

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

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