I\'m currently trying to move my project from Java EE to Spring Boot project. However, i\'ve been stucked and confused on the part with dispatcher servlet and web.xml and it
Spent quite some time so sharing three things I remember to make it working from command line.
src/main/resources
In your mvc config file
@Configuration
public class MvcConfig extends WebMvcConfigurerAdapter {
@Bean
public InternalResourceViewResolver viewResolver(){
InternalResourceViewResolver resolver = new InternalResourceViewResolver();
resolver.setPrefix("/Representation/");
resolver.setSuffix(".jsp");
return resolver;
}