From the course: Complete Guide to Spring MVC
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Script views overview - Spring Tutorial
From the course: Complete Guide to Spring MVC
Script views overview
- [Instructor] Script views. Script views in Spring MVC enable developers to integrate dynamic templating libraries and scripting engines for server side rendering. These views utilize JSR 223 compliant scripting engines offering the flexibility to use scripting languages and templating libraries like Mustache, Handlebars, or even React. Here are the three main features of script views. One is the scripting engine integration. Script views require a JSR 223 compliance scripting engine such as Nashorn, JRuby, Jython, or Kotlin scripting. These engines support dynamic execution of scripts to generate HTML views at runtime. The second and third main features of script views is dynamic rendering and Spring MVC integration. You have modern JavaScript-based templating engines like Mustache, Handlebars or React that can be integrated server side using script views. This approach supports the generation of highly interactive and dynamic web pages, and by using ScriptTemplateConfigurer and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Groovy Markup overview4m 23s
-
(Locked)
Thymeleaf4m 34s
-
(Locked)
FreeMarker overview3m 24s
-
(Locked)
Script views overview4m 42s
-
(Locked)
JSP and JSTL overview3m 54s
-
(Locked)
RSS and Atom4m 18s
-
(Locked)
PDF and Excel overview3m 43s
-
(Locked)
Jackson overview5m 3s
-
(Locked)
XML marshalling4m 31s
-
(Locked)
XSLT views overview5m 51s
-
(Locked)
-
-
-