users@servlet-spec.java.net

[servlet-spec users] Request.getPart()/getParts()

From: Jan Bartel <janb_at_intalio.com>
Date: Fri, 5 Oct 2012 18:58:12 +1000

Hi,

If I retrieve the parts of a multipart mime request with
Request.getPart(x), and I later go on to call Part.write("foo.file"),
what is the expectation of the permanency of the subsequently written
file? Will it exist after the request has exited the container? Will
it exist after the container's jvm has exited?

Indeed, is the expectation that any of the parts retrieved which may
have been written to a file - eg because of a
MultipartConfigElement.fileThresholds value - are available (a) after
the request has exited, (b) after the container's jvm has exited?

thanks,
Jan
-- 
Jan Bartel <janb_at_intalio.com>
www.webtide.com – Developer advice, services and support
from the Jetty & CometD experts.