permaculture playing cards*
The moose likes Other Application Frameworks and the fly likes How to use velocity with out template Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "How to use velocity with out template" Watch "How to use velocity with out template" New topic
Author

How to use velocity with out template

Pattamuthu Aru
Greenhorn

Joined: May 25, 2010
Posts: 13
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

Joined: Sep 29, 2008
Posts: 12617

The developer's guide has string examples:

http://velocity.apache.org/engine/devel/developer-guide.html#thevelocityhelperclass
 
jQuery in Action, 2nd edition
 
subject: How to use velocity with out template
 
Similar Threads
is Velocity best choice for outputting XML with a template XML file?
Velocity anyone
velocity tools and view technologies
Velocity template - populating with form values
what is the value prop of Velocity