Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass the variable from REST API java file to the velocity ?

Ashish Biswal March 28, 2019

I am trying to execute the REST API in the java file of the REST module and want to display the variable value in the velocity ?

How can i pass the value or how can I display in the velocity?

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2019

Hello,

Rest endpoint does not return any velocity templates. You should use a servlet module instead.

Suggest an answer

Log in or Sign up to answer