3 Replies Latest reply on Sep 1, 2008 3:11 PM by fernando_jmt

    ProjectName issue

    sriramsudheer

      Hi I am using JBoss Application Developer and I created a seam project named xyz. I see the application running in http://localhost:8080/xyz .
      Is there a way to make it run on http://localhost:8080/abc with out renaming the project to abc.



      Thanks

        • 1. Re: ProjectName issue
          tony.herstell1

          With the new Seam you can try the URL rewrite capability.
          I think what what you want.
          Report back if successful as it quite commonly asked for.

          • 2. Re: ProjectName issue
            khosro_question

            Hello Sriramsudheer,


            I think if you edit the context-root element in application.xml,you can run your application on any URL you want,like URL you said.
            But maybe i am wrong.


            Khosro.

            • 3. Re: ProjectName issue
              fernando_jmt

              If you are working in an enterprise application (EAR), you can do it in the application.xml:


              <module>
                      <web>
                          <web-uri>xyz.war</web-uri>
                          <context-root>abc</context-root>
                      </web>
                  </module>
              



              In the other hand, if you are working in a simple web application (WAR), you can do it in the jboss-web.xml configuration file:


              <jboss-web>
                  <context-root>abc</context-root>
              </jboss-web>