I am trying to migrate an enterprise application from JBoss to Websphere 8.5. The application is configured with Spring MVC and tiles. The application is hosted in the server root of the JBoss Server, i.e. to access the application we just type https://localhost/
in the browser.For this reason all the links and association in the applications are currently written as follows:
<link href="/resources/jQuery.js" .../>
...
<a href="/home">Home</a>
etc.
But in WebSphere the application needs to be in a context root viz. https://localhost:9443/MigratedApplication
.
The problem is that all the links and resources mapped in the application now are inside https://localhost:9443/MigratedApplication/resources
but they are still looked for in https://localhost:9443/resources
resulting in errors on the application throughout.
Any ways to resolve the issue by configuration in WebSphere?