The following should do it:
#set($hello = "hello")
<%
print("${hello} world");
%>
________________________________
From: Duke Tantiprasut [mailto:duketantiprasut@gmail.com]
Sent: 20 September 2006 23:04
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] passing values from velocity to groovy
Hi All,
How do you do something like this:
#set($hello = "hello")
<%
print(hello+" world");
%>
Duke