@Configuration
public class FreeMarkerConfig
extends java.lang.Object
构造器和说明 |
---|
FreeMarkerConfig() |
限定符和类型 | 方法和说明 |
---|---|
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer |
freeMarkerConfigurer() |
org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver |
freeMarkerViewResolver() |
@Bean public org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer() throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException
@Bean public org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver freeMarkerViewResolver()