On Sun, Jul 5, 2020 at 9:16 PM Sven Meier <s...@meiers.net> wrote:

> Hi Maxim,
>
> you'll have to upload these files to a resource separately.
>
> I'm not aware of a reusable solution for that.
>

Here is a blog article on this topic:
http://wicketinaction.com/2012/11/uploading-files-to-wicket-iresource/ and
its demo app: https://github.com/martin-g/blogs/tree/master/file-upload


>
> Have fun
> Sven
>
>
> On 05.07.20 17:20, Maxim Solodovnik wrote:
> > Hello All,
> >
> > our app allows huge file uploads
> > I have noticed the page is locked while incoming input stream is being
> > copied
> > (might take more than an hour)
> >
> >   at java.base@11.0.7/java.io.InputStream.read(InputStream.java:205)
> > at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98)
> > at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68)
> > at
> >
> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:346)
> > at
> >
> org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.parseFileParts(MultipartServletWebRequestImpl.java:196)
> > at
> org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1470)
> >
> > Are there any options to prevent page lock?
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to