On Tue, Jan 26, 2010 at 12:30, Felix Meschberger wrote:
> How about converting the RedirectServlet into a OptingServlet and
> implement the accepts mehtod as follows:
>
> public boolean accepts(SlingHttpServletRequest request) {
> return !JsonRendererServlet.EXT_JSON.equals(
>
Hi all,
Currently, the RedirectServlet (in the Sling Default GET Servlets
bundle) has special provision to return the current resource as JSON
according to the JsonRendererServlet. As such it has the following code
in the doGet method:
// handle json export of the redirect node
if