Example of root-context
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>/Tesoreria-WEB</context-root>
<max-active-sessions>300</max-active-sessions>
</jboss-web>
Is it possible to get that "/TESORERIA-WEB" with some method in java with primefaces?
I have tried
PrimeRequestContext.getCurrentInstance(FacesContext.getCurrentInstance()).getApplicationContext());
But no success and can't find something on the internet about specifically getting root-context from web.xml