Hi Amin My Bad the injection part is done via annotation @Reference, but that will work in Servlet or OSGI Services. If you are coding directly in JSP try fetching the requestProcessor and requestResponseFactory as OSGI services. Sample code would beSlingRequestProcessor requestProcessor = sling.get...