I am trying to map the sling.servlet.resourceTypes, so that the URL requests can be handled by Spring MVC that is running inside Sling container.
With the following Sling property 'sling.servlet.resourceTypes', sling not able to map the request. 1. URL: http://localhost:8080/content/slingspring/person/new 2. <osgi:service-properties> <entry key="sling.servlet.resourceTypes" value="slingspring/person" /> <entry key="sling.servlet.extensions" > <array> <value>json</value> <value>html</value> <value>jsp</value> </array> </entry> <entry key="sling.servlet.methods"> <array> <value>GET</value> <value>POST</value> </array> </entry> 3. Spring MVC is running inside Sling container: @RequestMapping(value = "/content/slingspring/person/new", method = RequestMethod.GET) public String showForm(ServletResponse servletResponse, SlingHttpServletRequest slingRequest, ResourceResolver resourceResolver) {
