Hi, do you mean using Servlet API 3 or emulating it?
Regards Carsten 2012/11/7 Felix Meschberger <fmesc...@adobe.com>: > Hi all, > > I just realized, that in Servlet API 3 there is now official support for > servlet containers to handle multi-part/form-data requests and expose them > through the request: > > public Collection<Part> getParts() > public Part getPart(String name) > > Where Part has these methods: > > void delete() > String getContentType() > String getHeader(String name) > Collection<String> getHeaderNames() > Collection<String> getHeaders(String name) > InputStream getInputStream() > String getName() > long getSize() > void write(String fileName) > > This requires the Servlet to be annotated with @MultipartConfig, though, > otherwise the servlet container will not do anything. > > What is your opinion ? Should we retrofit our multi-part/form-data support > into the Servlet API 3 API ? > > Regards > Felix -- Carsten Ziegeler cziege...@apache.org