posted 7 years ago
I am using WebSphere 8 & RAD 9.
I need to set context-root dynamically / programatically.
For example, i have URL's with one ear file (TestEAR).
Based on the region URL will change, but it should access same AppEAR only.
www.app1.com --> AppEAR
www.app2.com--> AppEAR
Is it possible to set the context-root dynamically based on URL's
<web>
<web-uri>AppEAR.war</web-uri>
<context-root> ??? </context-root>
</web>