Module settings
All properties start with the acrossWebModule. prefix.
Note that several Spring (Boot) properties can also influence behaviour of the AcrossWebModule, for example the spring.http.multipart.*
properties.
Property | Type | Description | Default |
---|---|---|---|
views.thymeleaf.enabled |
|
Should Thymeleaf view support be enabled. |
true |
views.jsp.enabled |
|
Should JSP/JSTL view support be enabled. |
false |
resources.path |
|
Relative path for serving all static resources. |
/across/resources |
resources.folders |
|
Default subfolders of views that should be served as static resources. |
js,css,static |
resources.versioning.enabled |
|
Auto configure versioning of the default resource resolvers. |
true |
resources.versioning.version |
|
Fixed version if resource versioning is enabled. Default will use build number or module version. |
null |
resources.caching.enabled |
|
Auto configure client-side caching of static resources. |
true |
resources.caching.period |
|
Period for client-side resource caching (if enabled). Defaults to 1 year. |
60*60*24*365 |
registerGlobalBuilderContext |
|
Should a request-bound |
true |
templates.enabled |
|
Should support for web templates be enabled. |
true |
templates.auto-register |
|
If web templates are enabled, should named templates be autodetected. |
true |
development-views |
|
Map of physical locations for views resources. Only used if development mode is active. |
Collections.emptyMap() |
resources.webjars |
|
Relative path for serving all webjars. |
/webjars |