Announcement Announcement Module
Collapse
No announcement yet.
is this possible with SimpleUrlHandlerMapping? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    Comment

    Working...
    X