4 Replies Latest reply on Sep 16, 2010 9:53 AM by Michael Gaitsg

    default page for url directories

    Michael Gaitsg Newbie


      I'm using Jboss ver 4.2.3 for windows and I'm trying to figure out how to provide a default landing page for url directories:

      In my web.xml file I have the following:






      redirect.jsp simply redirects to index.htm (which doesn't physically exist, but is the mapping configured for the servlet) and if I go to my domain

      like  my.com it redirects me to my.com/index.htm - which is what I want, but


      if type my.com/tools/ then it gives me "page not found" and I want it to redirect to my.com/tools/index.htm


      is there a way to configure it in JBoss?


              Thanks Michael