3 Replies Latest reply on Jan 10, 2008 4:30 AM by tony.herstell1

    Get context root (Application.xml)

    jboss2007

      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,