程序包 org.springframework.web.servlet.view.script
Support classes for views based on the JSR-223 script engine abstraction (as included in Java 6+), e.g. using JavaScript via Nashorn on JDK 8. Contains a View implementation for scripted templates.
接口概要 接口 说明 ScriptTemplateConfig Interface to be implemented by objects that configure and manage a JSR-223ScriptEngine
for automatic lookup in a web environment.类概要 类 说明 ScriptTemplateConfigurer An implementation of Spring MVC'sScriptTemplateConfig
for creating aScriptEngine
for use in a web application.ScriptTemplateView AnAbstractUrlBasedView
subclass designed to run any template library based on a JSR-223 script engine.ScriptTemplateViewResolver Convenience subclass ofUrlBasedViewResolver
that supportsScriptTemplateView
and custom subclasses of it.