aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use velocity with out template
 
Similar Threads
Velocity anyone
Velocity template - populating with form values
velocity tools and view technologies
what is the value prop of Velocity
is Velocity best choice for outputting XML with a template XML file?