Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA4EE17E0A for ; Thu, 25 Jun 2015 03:23:23 +0000 (UTC) Received: (qmail 98368 invoked by uid 500); 25 Jun 2015 03:23:23 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 98236 invoked by uid 500); 25 Jun 2015 03:23:22 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 98225 invoked by uid 99); 25 Jun 2015 03:23:22 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 03:23:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8DEC21A605A for ; Thu, 25 Jun 2015 03:23:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 6Tm-Nv_gAuK0 for ; Thu, 25 Jun 2015 03:23:11 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id EE6E324A5E for ; Thu, 25 Jun 2015 03:23:10 +0000 (UTC) Received: by oigx81 with SMTP id x81so43706046oig.1 for ; Wed, 24 Jun 2015 20:23:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=SaxAvtR1XuxLi7looWaCXA2wPjadiRUcsKxYLGTtRc4=; b=DVn6GpG1svE8rTQVoE2LnrPLXh/pXEZep57n5atInU8VcE5+jVRU+BFHsWJPC84Ifx +A9ILMRJFCR5A3hlbM8BlCoTo+S14XWS+Hw7LOgeTy6T6ai0ZkuVu0exo0g4YmywihEF v71odMs2PTa5y9u5Ocm3TNaBpC3XbyzMrDclnxyGYI2zDs+0Hl5by/uwvhg7sI7BeSeI Yn4g3rucf9h7vXxRRR1QvNEnmTekYgbmr7CPAj1y4hkDNOLHMNuPe19JJLbYBPaRyZTj m7b/ZRhqK3io/tBeYfJAh2TWVyHxtMwclvT7CBNnQj6OF9Agdvp2CVQcAuN1Ud2LcR8B niyw== X-Gm-Message-State: ALoCoQlJoSNnmY7LURyWjoXR30sGbnbt9SYNa2H9oRJvqkUvOVqst275xUgoNx2RrcSI/b64TdJR MIME-Version: 1.0 X-Received: by 10.202.102.148 with SMTP id m20mr35874311oik.62.1435202583758; Wed, 24 Jun 2015 20:23:03 -0700 (PDT) Received: by 10.202.96.212 with HTTP; Wed, 24 Jun 2015 20:23:03 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Jun 2015 23:23:03 -0400 Message-ID: Subject: Re: Commons Apache Fileupload from Classic web app and Struts 2 Integration From: Kiran Badi To: Commons Users List Content-Type: multipart/alternative; boundary=001a114089c22fc32f05194f24f2 --001a114089c22fc32f05194f24f2 Content-Type: text/plain; charset=UTF-8 Hi Benedikt, I am on 1.3.1 and struts dependencies wrt to file upload is https://struts.apache.org/docs/file-upload.html#FileUpload-Dependencies I recently upgraded to 1.3.1 and my issue was with struts 2 playing mischief(I think fileupload interceptor was issue) and now it's fixed and working good. I have many libraries from apache and most of those libraries ships same jars again and again.Recent issue was with struts 2. I have removed all jars and hopefully I believe strut 2.3.20 should not have any issues with 1.3.1 though they still recommend 1.2.2 - Kiran On Wed, Jun 24, 2015 at 4:10 AM, Benedikt Ritter wrote: > Hello Kiran, > > 2015-06-24 1:22 GMT+02:00 Kiran Badi : > > > Hi All, > > > > I was using Apache FileUpload 1.2 for my classic web app based on > > jsp/servlets and now I have integrated Struts 2.3.20 with this > application. > > > > For some reason after adding S2 with my classic app, its breaking file > > upload functionality which was working fine earlier.Nothing shows up in > > logs other than that all parameters values goes as null. > > > > After doing some analysis I see that S2 ships with file upload jar , > along > > with bunch commons jars. Does S2 file upload jars has any conflict with > > classic file uploads like probably file upload interceptor of S2 > > intercepting earlier functionality etc. > > > > Any thoughts please. > > > > I don't know which Commons Artifacts the Struts project is shipping. Maybe > you should ask on their user list if you haven't already. The latest > release of Apache Commons FileUpload is 1.3 [1]. Which version are you > using now that you've upgraded? > > Benedikt > > [1] https://commons.apache.org/proper/commons-fileupload/ > > > > > > - Kiran > > > > > > -- > http://people.apache.org/~britter/ > http://www.systemoutprintln.de/ > http://twitter.com/BenediktRitter > http://github.com/britter > --001a114089c22fc32f05194f24f2--