Re: Sling and Servlet API 3

2012-11-08 Thread Felix Meschberger
Hi, Am 07.11.2012 um 22:25 schrieb Ian Boston: > On 8 November 2012 00:19, Felix Meschberger wrote: >> Hi, >> >> Am 07.11.2012 um 14:03 schrieb Carsten Ziegeler: >> >>> Hi, >>> >>> do you mean using Servlet API 3 or emulating it? >> >> If Sling sees that it is running in a Servlet API 3 cont

Re: Sling and Servlet API 3

2012-11-07 Thread Ian Boston
On 8 November 2012 00:19, Felix Meschberger wrote: > Hi, > > Am 07.11.2012 um 14:03 schrieb Carsten Ziegeler: > >> Hi, >> >> do you mean using Servlet API 3 or emulating it? > > If Sling sees that it is running in a Servlet API 3 container, the Sling's > ParameterSupport should properly integrate

Re: Sling and Servlet API 3

2012-11-07 Thread Felix Meschberger
Hi, Am 07.11.2012 um 14:03 schrieb Carsten Ziegeler: > Hi, > > do you mean using Servlet API 3 or emulating it? If Sling sees that it is running in a Servlet API 3 container, the Sling's ParameterSupport should properly integrate with the Servlet API 3 API. I see three options: (a) The Sling

Re: Sling and Servlet API 3

2012-11-07 Thread Carsten Ziegeler
Hi, do you mean using Servlet API 3 or emulating it? Regards Carsten 2012/11/7 Felix Meschberger : > 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: > >p

Sling and Servlet API 3

2012-11-07 Thread Felix Meschberger
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 getParts() public Part getPart(String name) Where Part has these methods: void delete()