Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327489

Summary: Change meaning of @MultipartConfig to match servlet spec 3.0 maintenance release 3.0a
Product: [RT] Jetty Reporter: Jan Bartel <janb>
Component: serverAssignee: Jan Bartel <janb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 8.0.0   
Target Milestone: 7.1.x   
Hardware: All   
OS: All   
Whiteboard:

Description Jan Bartel CLA 2010-10-11 19:36:13 EDT
"location" attribute of javax.servlet.annotation.MultipartConfig and the location element of <multipart-config> must be interpreted as an absolute path and defaults to the value of the "javax.servlet.context.tempdir". If a relative path is specified, it will be relative to the tempdir location. The test for absolute path vs relative path must be done via java.io.File.isAbsolute
Comment 1 Jan Bartel CLA 2010-10-25 04:49:30 EDT
Fixed in jetty-8 for 8.0.0.M2.