Is it possible to run static content and java code on different ports?
I have a spring download project where my Java code is on src/main/javaand web content is on src/main/resources/static.
Is it possible to run static content on a port, for example, 8080 and java (rest controller) on 8081?
I do not want to create a separate project for the user interface.
source
share