Jan 12th, 2009, 05:07 PM
is this possible with SimpleUrlHandlerMapping?
I have a web application packaged and deployed to
I access the app via http://localhost:8080/app/index.html
Is there a way I can use the SimpleUrlHandlerMapping class to access the app via http://localhost:8080/app-root/app/index.html?
Is there a way to do this without having to change the app.war package name? Or must I have the deployment packaged as app-root.war to access it as http://localhost:8080/app-root/app/index.html?
Ben D. Cotton III
Merrill Lynch & Co.
Global Debt Technology
Jan 13th, 2009, 04:26 AM
You will need to deploy the application as app_root unless you are using an apache front end and you could use URL rewritting to achieve this without a code change.
However URL rewritting is an expensive feature and is not recommended