getServletPath() output JSP name instead of action name when a request is forwarded inside Servlet application in EAP 7

Solution Unverified - Updated -

Issue

  • When we try to deploy initially we found some issues while application startup. We found issue in undertow with Struts2 and Siteminder framework. We are trying to migrate application from EAP 6.4.0 to EAP 7.0.0. Our application is using Struts 2 and sitemesh decorator.

In JBoss 6.4

getServletPath() :: /transaction_summary.action 
getRequestURI():: /projectname/transaction_summary.action

In JBoss 7.0

getServletPath() :: /jsp/main/mainSummary.jsp 
getRequestURI() :: /projectname/jsp/main/mainSummary.jsp

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 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