How to check if the request is mapped to a welcome-file in JBoss EAP

Solution Unverified - Updated -

Issue

  • We have some requests that are mapped to welcome-files configured in your application web.xml. In Weblogic, we could previously check req.getRequestURL() to see that the application was mapped to one of these welcome-files. That welcome file name is never shown in req.getRequestURL() or req.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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content