1 Reply Latest reply on May 18, 2005 6:06 AM by avinash.pandit

    default webapp

    prwalleri

      I am using the latest jbossversion and I would like to make my webapp the default so all I have to type for the url is: http://localhost:8080.

      Can someone help?

        • 1. Re: default webapp
          avinash.pandit

          U can use

          deploy\jbossweb-tomcat50.sar\ROOT.war\index.jsp to simply forward it to ur webapp path

          e.g

          <%

          response.sendRedirect("/admin/");

          %>


          while /admin is my relative webapp path.

          so when u access http://localhost:8080/ then ur request will be redirected to http://localhost:8080/admin/


          If you don't want to use redirection then put ur whole webapp directory structure into deploy\jbossweb-tomcat50.sar\ROOT.war\ directory.
          JBoss always uses ROOT.war as a default webapp.