-1

At present im new developper with angularJs, please can anyone explain me by example how to configure AngularJs with Spring MVC and Web Flow ? (web.xml and pom.xml)

Thank you for advance !!

midoDev
  • 97
  • 1
  • 2
  • 7

1 Answers1

0

Angular is a presentation layer on the client side. It is not really meant to integrate with any server side presentation like Spring MVC.

Your server side should only return data in JSON format.

Abhinav Gujjar
  • 2,570
  • 2
  • 25
  • 35
  • But we integrate it in xhtml page!! can you explain me please how to configure web.xml, spring mvc and webflow context for handling my request ?!! because i found that all the examples handles the jsp page not html – midoDev Feb 20 '15 at 14:47
  • 1
    Your 'bootstrap' html page has nothing to do with Spring. Load angular and your other js code in index.html (or index.jsp). This will be loaded by the web container's default servlet (file servlet), not by Spring's Dispatcher servlet. – AngerClown Feb 20 '15 at 15:18