Hello all,

I am using Velocity within some
servlets(VelocityServlet). I want to get a template
from a String rather than a file. I am not able to
find the appropriate function for that.

For getting a template from file, there is a method
called
Template getTemplate(String path) in VelocityServlet. 

I am storing small template files as String in a
database, and want to construct template from that
string.

Template getTemplateFromString(String data) or an
InputStream ?

Thanks

Regards
Sunil



        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to