0 Replies Latest reply on Oct 31, 2012 7:18 AM by 856652

    Get portal context path in portlet context

      Hi all,
      I have a portal application using some portlets. The portal is accessible by "http://host1:port1/portalContextRoot", the portlets by "http://host2:port2/portletContextRoot".
      The portlet returns "portletContextRoot" in a request if calling "facesContext.getExternalContext().getRequestContextPath()". But how can I get the portal context path "portalContextRoot" out of the faces context? Is that possible?

      The reason I need this is the configuration of a third party service which requires some static resources of the portal environment.
      Thanks in advance,