Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DD2570BB for ; Wed, 12 Oct 2011 21:46:58 +0000 (UTC) Received: (qmail 21806 invoked by uid 500); 12 Oct 2011 21:46:56 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 21753 invoked by uid 500); 12 Oct 2011 21:46:56 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 21745 invoked by uid 99); 12 Oct 2011 21:46:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 21:46:56 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of koushikgattu@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 21:46:51 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RE6dC-0003XI-SG for users@cxf.apache.org; Wed, 12 Oct 2011 14:46:30 -0700 Date: Wed, 12 Oct 2011 14:46:30 -0700 (PDT) From: kaushik To: users@cxf.apache.org Message-ID: <1318455990870-4897111.post@n5.nabble.com> In-Reply-To: <4E95F993.8020108@gmail.com> References: <1318447363831-4896631.post@n5.nabble.com> <4E95F993.8020108@gmail.com> Subject: Re: cxf Image upload - multipart MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Okay..Thank you1 I will check and let you know. Also, can you please let me know, if these are possible with the headers and stuff? 1. Is there any way we could restrict the file type for the upload? 2. I am trying to find out the info about uploaded file like name, extension (.gif, jpg), mimetype etc. Ex: i am trying dataHnadler.getName() which is null everytime 3. Can some one explain me why do we need "imageInputStream" i.e. image/gif for attachment , is it specify the file type for individual attachment? In my case, it should only accept only one image (or can be multiple images) . 4. Is there any way to validate the uploaded file? thank you -- View this message in context: http://cxf.547215.n5.nabble.com/cxf-Image-upload-multipart-tp4896631p4897111.html Sent from the cxf-user mailing list archive at Nabble.com.