0 Replies Latest reply on Sep 17, 2010 3:16 PM by d sailer

    default redirects not working

    d sailer Newbie

      I have a seam 2.2.0.GA project which contains both an admin and a consumer web site bundled. When a user goes to http://myhost it should default to the consumer apps home page. This is running on jboss 5.1.0.GA in an EAR, so in application.xml, I have:


      Then in that wars root, I have this in index.html

      <meta http-equiv="Refresh" content="0; URL=/home">

      and in Home.page.xml, I have

      <rewrite pattern="/home" />

      Now if I go to http://myhost:8080 in a browser, it incorrectly redirects to:

      but if I go to http://myhost:8080/index.html in a browser, it redirects to:

      which is the behavior I want since I want to hide all the consumer and seam paths.