1 Reply Latest reply on Jan 29, 2009 11:13 AM by peterj

    For Default Web application using JBoss AS

    neek

      hi,
      am using jbossAS4.2 for my web application. i want to load my application default. now i just redirect from Root.war/Web-inf/web.xml. it works like
      example, http://www.mytest.com/mytest.
      here mytest is my folder name. i want exact like http://www.mytest.com.
      can anybody helps me regarding this issue?




      thanks
      neek

        • 1. Re: For Default Web application using JBoss AS
          peterj

          Here is one way to accomplish this. First remove the current default app at server/xxx/deploy/jboss-web.deployer/ROOT.war (remove the whole directory). Second, add a jboss-web.xml file to your web app's WEB-INF directory and put the following it it:

          <?xml version="1.0" encoding="UTF-8"?>
          <jboss-web>
           <context-root>/</context-root>
          </jboss-web>