Does Velocity provide some way of utilizing a multipart content-type template?

In other words: I have a servlet generating data for a Velocity template.  Along with 
text such as name and address, I want a picture to be embedded within the web page.  
HOWEVER, the picture is coming as binary data - NOT a <img> link or anything like that.

Limitations:
1.  The picture is not stored as a file, it will come from the servlet as binary data.
2.  The picture must be embedded within a velocity template somehow.
3.  The template I need the picture to go in is already a very nice Velocity template 
- I'm not interested in generating the page html myself or switching to some other 
templating system.  (I would generate just the portion of the html for the picture - 
if I can embed it in the template somehow)

Thanks for your help,
Jeff Owens


Reply via email to