Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

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

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello;

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?

Regards
Bilal
 
My pie came with a little toothpic holding up this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!