Quantcast
Channel: Access from Thymeleaf to constants (without spring) - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article


Access 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

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>