JSP

    JSP - Spring Boot에서 JspConfig 설정하기

    기존 Sprin에서는 web.xml을 통해서 Jsp Config를 설정해야했다. 하지만 SpirngBoot부터는 SpringBootServletInitializer 상속 받은 클래스로 Jsp Config를 설정할 수 있다. @Configuration public class JspConfig extends SpringBootServletInitializer { @Bean public ConfigurableServletWebServerFactory configurableServletWebServerFactory() { return new TomcatServletWebServerFactory() { @Override protected void postProcessContext(Context context) {..