I am developing a web app with Thymeleaf and Spring boot. I am using Fragments and a layout ; All I need is to print the request parameter in the header.
Exemple :
Is there any variable in Thymeleaf to get that ?
Thank you
The path up to the query string:
${#request.requestURI}
The query string:
${#request.queryString}
Get a specific parameter (from the query string):
${#request.getParameter('size')}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With