• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Routing from Spring MVC to Angular and from Angular to Spring MVC

Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If I have Spring MVC application which is using dispatcher, view resolver and controller and if I need some pages to be created using angular and some pages to be created using jsp of the spring mvc.
My question is: how to route to the angular page if we were navigating the spring mvc page (jsp page) and how to route for the spring mvc page (the jsp page) if the user was in the angular page?
Shall I consider them two separated applications? Even, how to be able to route between them (to spring mvc jsp from angular and to angular from spring jsp)?
What is the required configuration at the dispatcher config file and which annotation to be used in the mvc controller? Same thing about angular, what is needed to be done?

    Bookmark Topic Watch Topic
  • New Topic