src/main/java/org/hl7/davinci/ehrserver/requestgenerator/RequestGeneratorMvcConfig.java
/**
   * Setup the template resolver with the location of the templates.
   */
Setup the template resolver with the location of the templates.
Setup the template resolver with the location of the templates .
@Bean
  public SpringResourceTemplateResolver templateResolver() {
    SpringResourceTemplateResolver resolver = new SpringResourceTemplateResolver();
    resolver.setPrefix("/WEB-INF/build/");
    resolver.setSuffix(".html");
    resolver.setTemplateMode(TemplateMode.HTML);
    resolver.setCharacterEncoding("UTF-8");
    return resolver;
  }
@ Bean public SpringResourceTemplateResolver templateResolver ( ) { SpringResourceTemplateResolver resolver = new SpringResourceTemplateResolver ( ) ; resolver . setPrefix ( "/WEB-INF/build/" ) ; resolver . setSuffix ( ".html" ) ; resolver . setTemplateMode ( TemplateMode . HTML ) ; resolver . setCharacterEncoding ( "UTF-8" ) ; return resolver ; }
Setup the template resolver with the location of the templates.
Setup the template resolver with the location of the templates .