Servlet
Hi Team,
Can we remove sitemap-index as per the requirement from apache sitemapservlet directly or do we need to add the configuration of apache servlet in out code and remove sitemap-index selector?
Hi Team,
Can we remove sitemap-index as per the requirement from apache sitemapservlet directly or do we need to add the configuration of apache servlet in out code and remove sitemap-index selector?
Hi Kapil,
I tried in my local with two different projects having same org.apache.sling.sitemap.impl.SitemapServlet configuration so the first deployed project's configuration is getting overridden by the last deployed one.
Factory configuration - multiple configurations for single configuraiton.org.apache.sling.sitemap.impl.SitemapServlet is not factory configuration.
okay, got it. You can try making a custom servlet that extends the SitemapServlet lets say "mySitemapServlet". Override the methods there and try to generate different sitemaps based on your project names. Take the project name from its config.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.