[
https://issues.apache.org/struts/browse/WW-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes Wannemacher closed WW-3105.
-------------------------------
Resolution: Won't Fix
Assignee: Wes Wannemacher
I looked at this and I don't know if it would be possible. Another alternative
is to use the DiskFileItemFactory in Commons Fileupload, but to set a threshold
that matches the maximum upload size. This should tell the app server to keep
the contents of the upload in memory, rather than ever writing to disk. I have
a plugin in the sandbox that should allow you to do this. To try it out, check
it out of svn here -
http://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-fileupload-plugin/
If you can't do what you need, let me know and I'll fix it from this plugin,
rather than trying to re-work struts2-core.
> FileUploadInterceptor should support inject InputStream not File
> ----------------------------------------------------------------
>
> Key: WW-3105
> URL: https://issues.apache.org/struts/browse/WW-3105
> Project: Struts 2
> Issue Type: New Feature
> Components: Core Interceptors
> Affects Versions: 2.1.6
> Reporter: zhouyanming
> Assignee: Wes Wannemacher
> Fix For: 2.1.8
>
>
> this feature can be useful for google appengine(gae) because gae can't write
> file to filesystem
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.