• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Springboot application how to make welcomecontroller return pages from second module

 
Greenhorn
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.

welcomeController.java




ServletInitializer.java




DevopsApplication.java



SpringBootServletInitializer.java



screenshot https://imgur.com/a/ik4LhgP

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic