Re: [AngularJS] Re: Angular 2 deploy to Tomcat server?

2017-03-15 Thread Saju Thankathurai
Thanks for your help Martin. It Worked! A2 rocks!!! -- *Saju Thankathurai* On Wed, Mar 15, 2017 at 1:29 PM, Martin Kuhn wrote: > I think the problem is maybe the base href attribute. (default is set in > index.html to "/"). > > You have to define it to the directory where

[AngularJS] Re: Angular 2 deploy to Tomcat server?

2017-03-15 Thread Martin Kuhn
I think the problem is maybe the base href attribute. (default is set in index.html to "/"). You have to define it to the directory where the dist files are copied to (in tomcat -> when the directory is tomcat/webapps/myapp -> then the base-href has to be "/myapp/") angular-cli provides the