Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Springboot application how to make welcomecontroller return pages from second module

Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a welcomeController first module which returns index.html. I want to create a second module which will be another html page like contact or about us. I want the second module to be able independently work without the first module (ex: it is as if developer is working on a separate module so it'll have code coverage and unit tests). But I also should be able to create a combined app which includes both first module and second module.

How can I make welcomeController return contact page or about us page from second module but if second module isn't ready or accessible then first module should just compile without any errors.

I can create another module but I'm not sure how I can make this work together.


    Bookmark Topic Watch Topic
  • New Topic