Package fr.paris.lutece.plugins.seo.web
Class SitemapServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- fr.paris.lutece.plugins.seo.web.SitemapServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class SitemapServlet extends javax.servlet.http.HttpServletServes the sitemap generated bySitemapService.The sitemap is written outside the webapp, so no servlet container serves it : the webapp is a build artefact, replaced at every deployment, and a generated file kept there is lost. This servlet is what publishes it, and the rewrite rules of the plugin expose it on
/sitemap-seo.xml, the path to declare in theSitemapdirective ofrobots.txt.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SitemapServlet()
-