Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Alternative to JSP templates

892936Oct 6 2011 — edited Oct 19 2011
[This is a cross post. I posted the same thing over at the coderanch: http://www.coderanch.com/t/554956/JSP/java/Alternative-JSP-templates]

Hey,

I've built and worked on quite a number of web applications using JSP for HTML templates.
I always found that the templates would get quite messy and confusing even if you use JSTL instead of scriptlets.
In a few projects I used other libraries for the HTML templates, Velocity for example.
Though, that's just the same in a slightly different syntax. I've also worked with numerous other technologies in Ruby land,
but I'm not happy with them either.

To come to the point of this post: I don't like it very much and so I've created an alternative: Wandledi

To describe it shortly: Instead of including scriptlets or custom tags into HTML files Wandledi uses a separate layer that's only responsible
for transforming HTML markup in order to fill it with dynamic data and so on.
For further information please have a look at http://wandledi.org *.
The idea isn't entirely new, though I don't know any other library that implements it in this way and not only for Java,
but for Scala, too.

The reason I post this here is that I was hoping to get some feedback from Java (and possibly Scala) developers on the whole thing.
Do you find the idea totally ludicrous or do you think it could make sense?

I for one am actually using Wandledi in several projects and I like it very much.
However, I might be a little biased. ;)

Regards,

Markus

* For an actual Java example see: http://wandledi.org/spells/duplication.html

Edited by: user5480329 on 06.10.2011 12:25

Edited by: user5480329 on 06.10.2011 13:33

Comments

tns42

See MOS Note 1982130.1 - seems like this is not supported.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 16 2011
Added on Oct 6 2011
8 comments
970 views