3 Replies Latest reply on Jan 10, 2008 4:30 AM by Tony Herstell

    Get context root (Application.xml)

    james nick Newbie

      Hi all,

      Is it possible to get the context root defined in the application.xml file please ?

      NB: I'm using .xhtml and not .jsp (so I can't use request.getContextPath()...).



      <web-uri>MyApp.war</web-uri>
      <context-root>/MyApp</context-root>



      Thanks in advance,