We are trying to find a java framework that requires the 开发者_如何学Pythonfewest changes to html/xhtml when we get it from the designer. So far to me it seems Sitebricks is the least intrusive, but it is still in alpha it seems and has been that way for a long time. Wicket seems to come in a pretty close 2nd. JSF, Stripes, and Struts requires a lot, what are we missing.
Tapestry has always had "very-native" html templates, from what I can remember - I haven't looked at the new version, but I don't expect that to have changed drastically.
You should check out Freemarker.
In fact SiteBricks default rendering engine rely on mvel. But SiteBricks can also support freemarker and others rendering engines.
Velocity is similar to Freemarker but I don't know it.
What changes exactly require Struts, Spring MVC, JSP? (not familiar with Stripes/JSF) The only required change I can think of is changing file extension from 'html' to 'jsp'. That's all.
Of course, different frameworks require different amount of configuration (which sometimes can be confusing), but that doesn't involve changing html.
Tapestry and Wicket are the least html-invasive. They both have the same idea of adding annotations into the html, but not butchering it through replacing every html element with taglibs.
Another framework that featured logic-less html templates was RIFE. I think it stopped being developed a couple years ago, though.
精彩评论