0 Replies Latest reply on Jan 22, 2007 9:55 AM by sirishy

    Changing context root

    sirishy

      Hi All,

      I'm using Jboss Portal 2.4 bundled version.
      I downloaded the sample for defining a new portal instance.

      By navigating to the URL http://localhost:8080/portal/portal/HelloPortal, I was able to view the default page.

      How can I access the default page by typing the URL as http://localhost:8080/HelloPortal ?

      I want to remove /portal/portal from the URL.
      How can I achieve it?

      I tried changing the jboss-web.xml (ie., I changed
      <context-root>/HelloPortal</context-root>)
      from the location
      jboss-portal-2.4.0\server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF
      Restarted the server and accessed the http://localhost:8080/HelloPortal I was able to see the default page of the default portal.
      when I accessed http://localhost:8080/HelloPortal/foobar I'm still viewing the default page instead of foobar page.

      Please help me.

      Thanks in advance.