Hi Josh, On Tue, Oct 14, 2008 at 10:07 PM, Joshua Oransky <[EMAIL PROTECTED]> wrote: > ...what I need is a way of processing those files before they are written. > My use case is that I want users to upload a single large image, and process > it with an image lib to generate thumbnails, etc. But I don't want to have > to write all the code to ALSO persist the text data, like image description, > etc...
Ok - I think I would rather generate thumbnails and the like asynchronously, but in general being able to process files before storage makes sense. >... So what I want, is a way to handle storing of the files separately, but > leave the text data to the Sling servlet. Of course, one could also > intercept some of the text data as well. The point is how do I write code to > only worry about the stuff I need, and let Sling persist anything else > normally.... What would be the unit of "stuff I need"? Would you want to process some request parameters and let Sling process some others, or is that something else? -Bertrand
