Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: java templating for HTML output Date: Thu, 29 Sep 2016 21:28:25 -0400 Organization: Aioe.org NNTP Server Lines: 43 Message-ID: References: NNTP-Posting-Host: PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35671 On 9/29/2016 9:25 PM, Arne Vajhøj wrote: > On 9/25/2016 6:20 AM, Askfor wrote: >> Robert Klemme wrote: >>> On 24.09.2016 15:31, Askfor wrote: >>>> I am going to need a template engine which is, as much as possible, >>>> java >>>> specific and HTML specific. I don't need general purpose templates, but >>>> ones which still look like HTML code >>>> >>>> Being more general is a negative feature for me. >>>> >>>> Working with platforms other than Java is negative, too. >>>> >>>> From what I have seen Thymeleaf might be what I need. Is there >>>> something >>>> else similar to it ? >>> >>> JSP would be the default. >> >> JSP are bit messy, but still manageable. I used them a lot. By its very >> nature, they are least reusable of all the code in typical web app >> project, it is something that one writes over and over again, so they >> should be as tidy as possible. >> >> After some thought, I decided to give JSTL a shot. JSTL is not a >> template system like Velocity or Framemaker, but might be able to keep >> code clean enough. I have considered it in the past, but done nothing, >> so far, > > Do you mean custom taglib? > > JSTL only provides the features in JSTL. Terminology: taglib = JSTL + custom taglib JSTL = Java Standard Tag Lib = taglibs that comes with the web container = c + fmt + sql + x + fn + tlv custom taglib = user provided taglib Arne