• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use velocity with out template

 
Pattamuthu Aru
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I need to use velocity template with out using .vm file. Instead i should use string template. I think we have to use VelocityEngine.evaluate, how to use that. please help me
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The developer's guide has string examples:

http://velocity.apache.org/engine/devel/developer-guide.html#thevelocityhelperclass
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic