-
Jan 12th, 2009, 05:07 PM
#1
is this possible with SimpleUrlHandlerMapping?
I have a web application packaged and deployed to
localhost://$TOMCAT/webapps/app.war
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?
thanks
Ben D. Cotton III
Merrill Lynch & Co.
Global Debt Technology
(212) 449-1000
ben_cotton@ml.com
-
Jan 13th, 2009, 04:26 AM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules