Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 11932 invoked from network); 20 Sep 2002 21:45:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Sep 2002 21:45:42 -0000 Received: (qmail 5453 invoked by uid 97); 20 Sep 2002 21:07:58 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 5055 invoked by uid 97); 20 Sep 2002 21:07:54 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 4860 invoked by uid 98); 20 Sep 2002 21:07:53 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <5.1.1.6.0.20020920180317.012b11a8@pop3.uol.com.br> X-Sender: tiago_nodari@pop3.uol.com.br X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Fri, 20 Sep 2002 18:05:50 -0300 To: "Struts Users Mailing List" From: Tiago Nodari Subject: RE: file upload problem In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N use the getInputStream method... and do was you would with any inputstream.... i hate the IO classes, so good luck :) At 01:28 PM 9/20/2002 -0700, you wrote: >I am using version 1.0.2. > >i went and looked at the example, and found my answer, FileForm. > >now i have another question, that may be a silly one, but is there any >reason I shouldn't turn the contents of the FileForm into a String, and >then run StringTokenizer over it? This is a csv file, that i am importing >into the database. > >thanks, >mark > > >-----Original Message----- >From: Martin Cooper [mailto:martin.cooper@tumbleweed.com] >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 to >refer to. > >-- >Martin Cooper > > > > -----Original Message----- > > From: Mark Silva [mailto:msilva@authenex.com] > > Sent: 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. > > > > javax.servlet.ServletException: BeanUtils.populate > > java.lang.IllegalArgumentException: argument type mismatch > > > > i feel that this might be due to the type of the file field > > in the Form object. right now it is string (as is everything else). > > > > should the file type is a form object be something different? > > > > thanks, > > mark > > > > -- > > To unsubscribe, e-mail: > >For additional commands, e-mail: > > > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: