Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BDD18200BC5 for ; Tue, 22 Nov 2016 20:42:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BC826160B0C; Tue, 22 Nov 2016 19:42:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 125C7160AF1 for ; Tue, 22 Nov 2016 20:42:09 +0100 (CET) Received: (qmail 53783 invoked by uid 500); 22 Nov 2016 19:42:09 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 53771 invoked by uid 99); 22 Nov 2016 19:42:09 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 19:42:09 +0000 Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id D47081A00A8 for ; Tue, 22 Nov 2016 19:42:08 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id p9so21396008vkd.3 for ; Tue, 22 Nov 2016 11:42:08 -0800 (PST) X-Gm-Message-State: AKaTC03l8n6n8FrjuV/XCJ3SAag7u/44CKxvQR6MK6H6rDoW6W1SiiCESPsHhte1JXpXuW2SZa8SOB6aZ13j6g== X-Received: by 10.31.11.145 with SMTP id 139mr11046600vkl.141.1479843727665; Tue, 22 Nov 2016 11:42:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.193.72 with HTTP; Tue, 22 Nov 2016 11:41:47 -0800 (PST) In-Reply-To: References: From: Lukasz Lenart Date: Tue, 22 Nov 2016 20:41:47 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File To: Struts Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Tue, 22 Nov 2016 19:42:10 -0000 All is good :) I have refactored the file upload logic a bit, cleaned up and fixed some issues with wrong message keys. Also I added dedicated converter to keep support for java.io.File so there is no need for migration :) I've also developed a small GAE plugin which is using the mentioned changes (that's why build cannot pass as a Struts SNAPSHOT is wrong ;-)), tested it locally and everything works as expected :D https://github.com/lukaszlenart/struts2-gea-plugin Can you take a look on that PR? Thanks in advance --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ 2016-11-22 9:44 GMT+01:00 Lukasz Lenart : > Done, thanks Aaron :) Now I must test this solution with Google AppEngine= ;-) > > 2016-11-22 7:49 GMT+01:00 Lukasz Lenart : >> 2016-11-21 20:12 GMT+01:00 Aaron Johnson : >>> Is it possible to have a converter from UploadedFile to File? The >>> UploadedFile has a getContent() method that returns the File object. >> >> Hm... it would be possible to add a converter, that should work :) >> >> >> Regards >> -- >> =C5=81ukasz >> + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org