Path: csiph.com!news.swapon.de!weretis.net!feeder4.news.weretis.net!newsfeed.CARNet.hr!news.metronet.hr!news1.t-com.hr!.POSTED!not-for-mail From: Askfor Newsgroups: comp.lang.java.programmer Subject: Re: java templating for HTML output Date: Sun, 25 Sep 2016 12:20:58 +0200 Organization: T-Com Lines: 26 Message-ID: References: NNTP-Posting-Host: 93-142-99-146.adsl.net.t-com.hr Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ls237.t-com.hr 1474798847 4104 93.142.99.146 (25 Sep 2016 10:20:47 GMT) X-Complaints-To: abuse@t-com.hr NNTP-Posting-Date: Sun, 25 Sep 2016 10:20:47 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:35644 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,