If I run a webapp under the uri /myapp then as soon as the app is accessed via http://example.com/myapp, the URL changes to http://example.com/myapp/. Is there any way to prevent this?
If I run a webapp under the uri /myapp then as soon as the
Share
When you have such a behaviour your web (or application) server returns a
when the URL without slash is requested.
You can see a similar example when getting http://www.google.es/services
After this first HTTP get to http://www.google.es/services
(without slash), the browser makes a second HTTP get to http://www.google.es/services/ (with slash). You can trace the HTTP requests with Network tab in Firebug, for example.
You can check your web/application server configuration, and maybe you can change this behaviour.