Would you like to elaborate on what makes it a poor general purpose templating language? The el is easy to read and can handle nested objects, arrays and maps. Most importantly, since I choose to use it for my web presentation, I'd rather not have an entire other spec to keep track of. Why bother?
I am thinking about trying to duplicate/re-use/wrap/etc jstl in a framework for use in a non-web templates, just trying to find out if there is already work being done on this idea. Maybe I'll check in on the tomcat user list. On Sat, Jan 29, 2011 at 11:41 AM, Dave Newton <davelnew...@gmail.com> wrote: > On Sat, Jan 29, 2011 at 2:37 PM, Dave Evans wrote: > >> Yes, I currently use velocity. But i'd really rather just use a single >> "language" for both web and non-web presentation. >> > > Ew. IMO JSP is a poor general-purpose templating language, and makes less > sense for non-web presentation. > > IIRC Musachy banged on the TC JSP engine for testing purposes, you could try > that if you're dead-set on doing this. No matter what, you're introducing > what I think is a pretty sketchy dependency, almost regardless of which > engine you decide to hack out of its server. > > Dave > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org