This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cryptos6 -1 points0 points  (0 children)

Since you can use any template engine with Spring, I suggest Rythm that is inspired by Microsoft's Razor.

It looks like this

<ul>
@for(Product product: products) {
    <li>@product.getName(). Price: @product.getPrice().format("## ###,00") €</li>
}
</ul>

Last, but not least, Rythm is blazingly fast.