Tim Reilly wrote:

I don't want to take away from your question;

but I was curious if you considered using Velocity
http://jakarta.apache.org/velocity/
http://today.java.net/pub/a/today/2003/12/16/velocity.html
for your email templating, instead?


No, I hadn't. Having a quick look now though. I was looking for something that did JSTL-style code, and my 30 second glance at velocity just now shows it uses a different style. Keeping it consistent between my existing Struts/Tiles/JSP pages and templates would be nice. I was really hoping I could have grabbed some sort of JSP processor from Tomcat and passed it the stuff I wanted evaluated.




[Jason Lea wrote:]
Sent: Thursday, July 29, 2004 1:22 AM
To: Jakarta Commons Users List
Subject: [Jelly] Using without a file or url


I am new to Jelly. I just started looking for something to allow me to make some templates for HTML email, and Jelly looks great.


I have an idea to store some template fragments in a database, pull them out, combine them into the completed script then execute Jelly over it. However Jelly seems to only have the facilities to open files or URLs. It doesn't look like I can pass it a string containing my jelly template and execute the script.

Is this the case?  or is there a way to do it?

I imagine I could write my template to a temp file, execute the script on that, then delete the file - but that seems clumsy.

--
Jason Lea




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






--
Jason Lea




Reply via email to