I cloned polymer starter kit 1.0 and its working perfectly fine the url is 
: localhost:8080. When I tried with Eclipse and Apache Tomcat 8.0 to build 
a Java MVC application then URL changes to  : localhost:8080/project-name.

Now the behaviour of the page navigation changed dramatically. When I start 
the project the URL comes as: localhost:8080/project-name/#!/project-name

But it should come like: localhost:8080/project-name and should show home 
page and on clicking on users or contact tab the url should be :

   - localhost:8080/project-name/#!/users
   - localhost:8080/project-name/#!/contact


but it is coming like:

   - localhost:8080/project-name/#!/project-name/users
   - localhost:8080/project-name/#!/project-name/contact

Finally if I click on home tab after users or control links has been 
clicked then instead of coming to url : 
               localhost:8080/project-name
 It redirected automatically to : 
                localhost:8080


I tried to make app.baseUrl =" ";. Changed the routing.html routing for 
home to *empty* or '*'but nothing worked. Any help would be highly 
appreciated.

Please help me out to solve so that I can use polymer with Java Spring MVC.

Thanks.

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/bcf841e9-b241-4d4a-b717-e0dd5eeef882%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to