When I deploy my app in dev environment it works fine. When I try to deploy it on production environment, Tomcat gives additional path parameter which cause problems in my app.
Example: localhost:port/home.html -> localhost:port/AppName/home.html
Same goes to static resources eg. My Image is located at adress: localhost:port/static/index.jpg and on production env I need to put localhost:port/AppName/static/index.jpg
Is there any Spring configuration that helps to aovid that? Do you know any solutions for this problem?