How to use AngularJs with Servlet and Jsp -


i developing dynamic web project using jsp , servlet. want use angularjs in project. need know can use angularjs , how?

jsp : server side templating. suffice requirement of providing dynamic html page. although served html page remain static on front end side, unless make ajax calls server, fetch data , repaint page on fly.

angular : front end javascript framework. helps templating webpages way more that. while can serve dynamic html pages using angular, can leverage long list of other benefits adding data binding, utilizing mvc pattern, having services, control routing , on...

so can use angular on front end side , leverage benefit without changing code @ backend.

one piece of advice : there hardly use of jsp if using angular on front end side. can keep using jsp server side templating prefer velocity oracle.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -