Scenario
-
I have an ember app which fetches data from a tomcat server through ajax calls.
-
When I changed the Ember location Type to history from hash tomcat server throws 404 Exception to my router URL.
Example
-
When location type is hash, URL constructed is http://localhost:8080/#/base
(application working fine) -
When I changed the location type to history, URL constructed is http://localhost:8080/base (404 exception)
I don’t know how to handle those router URLs with the servlet-mapping.