2 Replies Latest reply on Jan 16, 2004 7:09 AM by balabsil

    How to activate a default context

    balabsil

       

      "balabsil" wrote:
      "balabsil" wrote:
      Hi,

      I would like to access the default contest using the localhost , not even mention the port number . it is possible.
      which means to say.

      1. if i type http://localhost:8080/

      it has to take me to the default context for ex:sample.

      How should i configure this in the jboss-service.xml.

      2. Is there a way can i access the same without port number ?


        • 1. Re: How to activate a default context
          klaust

          1) build a webapp for the default context and deploy it.......

          2) with tomcat: look at jbossweb-tomcat.sar/META-INF/jboss-service.xml and configure the "<connector..." for your needs......(port 80)


          "balabsil" wrote:
          Hi,

          1. if i type http://localhost:8080/

          it has to take me to the default context for ex:sample.

          How should i configure this in the jboss-service.xml.

          2. Is there a way can i access the same without port number ?


          • 2. Re: How to activate a default context
            balabsil

            Hi ,
            I have created the web application sample, if i access http://localhost:8080/sample then only it's taking the contest path.

            My Question is if i access http://localhost:8080/ how can i do that ?


            "balabsil" wrote:
            "balabsil" wrote:
            Hi,

            I would like to access the default contest using the localhost , not even mention the port number . it is possible.
            which means to say.

            1. if i type http://localhost:8080/

            it has to take me to the default context for ex:sample.

            How should i configure this in the jboss-service.xml.

            2. Is there a way can i access the same without port number ?