struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Evans <dsevan...@gmail.com>
Subject Re: [OT?] standalone jsp
Date Sat, 29 Jan 2011 21:49:51 GMT
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 <davelnewton@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message