↧
Answer by Ghasem Sadeghi for Access from Thymeleaf to constants (without spring)
As you know, Thymeleaf uses OGNL to process commands.So, Without Spring and SpEL this can be achieved like this:<td><input class="form-control" type="text" name="inputValue"...
View ArticleAccess from Thymeleaf to constants (without spring)
How to access from Thymeleaf to constant?public final static int SOME_CONSTANT = 255;I am using the following code:@com.company.project.classWithConstants@SOME_CONSTANTAnd I am getting the following...
View Article