ResourceProviders and Servlets do completely different things. 
ResourceProviders provide resources. Servlets produce representations of 
resources.

Justin

On Feb 13, 2011, at 4:23 PM, Unmesh Joshi <[email protected]> wrote:

> Hi,
> 
> In Sling, we can Servlets are written for handling POST request. (Even
> JSPs and other scripts can be used, but I will like to stick to
> Servlets)
> For GET requests, either Servlets or ResourceProviders can be used.
> What is the common idiom or good design practice? ResourceProviders or
> Servlets?
> 
> Thanks,
> Unmesh

Reply via email to