Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 42367 invoked from network); 23 Jul 2004 18:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jul 2004 18:23:04 -0000 Received: (qmail 26632 invoked by uid 500); 23 Jul 2004 18:23:03 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 25890 invoked by uid 500); 23 Jul 2004 18:22:58 -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 25872 invoked by uid 99); 23 Jul 2004 18:22:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [66.162.134.137] (HELO jerry.networkeleven.net) (66.162.134.137) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 23 Jul 2004 11:22:55 -0700 Received: from [216.174.112.17] (helo=PSGIIB) by jerry.networkeleven.net with esmtp (Exim 4.34) id 1Bo4h8-0006Vh-AB for commons-user@jakarta.apache.org; Fri, 23 Jul 2004 11:22:58 -0700 From: "Thomas Joseph Olaes" To: Subject: [FileUpload] High-level API... does this work with multipart/form-data as well? Date: Fri, 23 Jul 2004 11:22:42 -0700 Message-ID: <000801c470e2$0fad4530$0e93030a@cisnet> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jerry.networkeleven.net X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - olaes.net X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello List, I just realized I had another question, in the javadoc it indicates that the high level APIs (FileUpload, FileUploadBase, DiskFileUpload) all work with encoding type "multipart/mixed", but I was wondering if these apis worked with "multipart/form-data" as well. I tried looking at the user guide and was running into the problem of the List that I would generate from upload.parseRequest(request) would return empty when the encoding type was "multipart/form-data". A bit of research brought me to the understanding that request is stream, which is why I was trying to use MultipartStream instead of DiskFileUpload. How do I use DiskFileUpload with an encoding of type "multipart/form-data", since I want to use this class to upload a text file from my browser to a tomcat server JSP page? An answer would be great, but hints at how to find out for myself would be good too. Thanks in advance for your help, -TJ --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org