File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes How to pass image bytes to Velocity template Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "How to pass image bytes to Velocity template" Watch "How to pass image bytes to Velocity template" New topic
Author

How to pass image bytes to Velocity template

Aneel Kumar
Greenhorn

Joined: Mar 31, 2013
Posts: 1
Hi All I have a requirement of sending the image bytes to Velocity template,
How can I pass ?
Can any one help in resolving the problem..

Thanks
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Can you be more specific about what you're trying to accomplish? Velocity is a templating engine used to generate character data - it would have no use for binary data (like images).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to pass image bytes to Velocity template