Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Routing from Spring MVC to Angular and from Angular to Spring MVC

  1. #1
    Junior Member
    Join Date
    Sep 2018
    Thanked 0 Times in 0 Posts

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


    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?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,491 Times in 2,442 Posts

    Default Re: Routing from Spring MVC to Angular and from Angular to Spring MVC

    Also posted here: https://coderanch.com/t/724590/frame...ngular-Angular
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Spring
    By arjun in forum Web Frameworks
    Replies: 1
    Last Post: November 18th, 2013, 03:28 PM
  2. Spring MVC
    By BALUBALU in forum Web Frameworks
    Replies: 3
    Last Post: October 10th, 2012, 08:54 AM

Tags for this Thread