I am trying to set application context to be root directory using the url rewrite of Seam pages.xml. My application is running on tomcat. I have setup the context to be / (on intelliJ). I have added this code on pages.xml:
<rewrite pattern="/" />
<redirect view-id="/home.xhtml" />
But the application doesn't load the main page and show tomcat management application instead.If I set a context other than / (for example: /myapp), then is works fine.
Retrieving data ...