struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File
Date Tue, 22 Nov 2016 19:41:47 GMT
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
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2016-11-22 9:44 GMT+01:00 Lukasz Lenart <lukaszlenart@apache.org>:
> Done, thanks Aaron :) Now I must test this solution with Google AppEngine ;-)
>
> 2016-11-22 7:49 GMT+01:00 Lukasz Lenart <lukaszlenart@apache.org>:
>> 2016-11-21 20:12 GMT+01:00 Aaron Johnson <johnson.aaron5@gmail.com>:
>>> 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
>> --
>> Łukasz
>> + 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


Mime
View raw message