Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #35671

Re: java templating for HTML output

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: java templating for HTML output
Date 2016-09-29 21:28 -0400
Organization Aioe.org NNTP Server
Message-ID <nskf3n$1f8m$3@gioia.aioe.org> (permalink)
References <ns5v6e$3gi$1@ls237.t-com.hr> <e4nikpFce1dU1@mid.individual.net> <ns88dv$408$1@ls237.t-com.hr> <nskeuk$1f8m$2@gioia.aioe.org>

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

java templating for HTML output Askfor <askfor@nowhere.net> - 2016-09-24 15:31 +0200
  Re: java templating for HTML output Robert Klemme <shortcutter@googlemail.com> - 2016-09-24 16:58 +0200
    Re: java templating for HTML output Askfor <askfor@nowhere.net> - 2016-09-25 12:20 +0200
      Re: java templating for HTML output Arne Vajhøj <arne@vajhoej.dk> - 2016-09-29 21:25 -0400
        Re: java templating for HTML output Arne Vajhøj <arne@vajhoej.dk> - 2016-09-29 21:28 -0400
  Re: java templating for HTML output Arne Vajhøj <arne@vajhoej.dk> - 2016-09-24 13:59 -0400
    Re: java templating for HTML output Askfor <askfor@nowhere.net> - 2016-09-26 07:33 +0200
      Re: java templating for HTML output Arne Vajhøj <arne@vajhoej.dk> - 2016-09-26 18:53 -0400
        Re: java templating for HTML output Askfor <askfor@nowhere.net> - 2016-09-28 12:27 +0200
  Re: java templating for HTML output Daniel Pitts <usenet@coloraura.com> - 2016-09-25 09:08 -0700
    Re: java templating for HTML output Askfor <askfor@nowhere.net> - 2016-09-26 07:32 +0200
  Re: java templating for HTML output 4ndre4 <a.laforgia@gmail.com> - 2016-10-09 13:10 -0700

csiph-web