I have .xhtml template and I have declared variables there. Example:
<!-- #set( $mailserver = "10.10.10.10") -->
I want to use these variables in my Java Code. The question is how to take the values of these variables?
Should I use VelocityContext?
Give me an example code.
Thanks in advance!