How to check if the request is mapped to a welcome-file in JBoss EAP
Issue
- We have some requests that are mapped to
welcome-files
configured in your applicationweb.xml
. In Weblogic, we could previously checkreq.getRequestURL()
to see that the application was mapped to one of thesewelcome-files
. That welcome file name is never shown inreq.getRequestURL()
orreq.getRequestURI()
on JBoss EAP however. Is there a way we can check the file name that request is internally mapped to?
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.