Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 53447 invoked from network); 5 Apr 2004 14:21:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Apr 2004 14:21:04 -0000 Received: (qmail 69181 invoked by uid 500); 5 Apr 2004 14:20:54 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 69169 invoked by uid 500); 5 Apr 2004 14:20:53 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 69155 invoked from network); 5 Apr 2004 14:20:53 -0000 Received: from unknown (HELO rwcrmhc11.comcast.net) (204.127.198.35) by daedalus.apache.org with SMTP; 5 Apr 2004 14:20:53 -0000 Received: from skye (c-67-170-243-172.client.comcast.net[67.170.243.172]) by comcast.net (rwcrmhc11) with SMTP id <20040405142055013000uugte>; Mon, 5 Apr 2004 14:20:55 +0000 From: "Martin Cooper" To: "Jakarta Commons Users List" Subject: RE: Newbie Commons Upload Servlet Won't Compile Date: Mon, 5 Apr 2004 07:20:57 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <2d.3bcf3233.2da2827d@aol.com> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Artstar910@aol.com [mailto:Artstar910@aol.com] > Sent: Monday, April 05, 2004 2:36 AM > To: commons-user@jakarta.apache.org > Subject: Re: Newbie Commons Upload Servlet Won't Compile > > > I tried to compile the example with the "String" replaced with the > appropriate "File" and it still threw back two errors. It says it > detects a string and > requires a File, yet I changed the veriable method to a File. > Please let me > know where to go from here. Thank you As you have discovered, there is a bug in the package description in the Javadocs. Please see the example in the user guide for how to use write(). http://jakarta.apache.org/commons/fileupload/using.html -- Martin Cooper > > Matt Newman > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org