tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Johnsen <phillip.john...@finn.no>
Subject Re: Mustache templates?
Date Thu, 28 Nov 2013 08:15:55 GMT
Eric B <ebenze@...> writes:

> Is that accurate?

Yes.

> What do you use to generate URL/links server side in Java?  In JSP/etc spring 
provides handy 
taglibs (ie:
> <spring:url />), to automatically calculate 
> contextPaths, etc.  But I haven't found anything as quick and easy to use in 
Java.

Have you tried UriComponentsBuilder from Spring? Added a small example of using
it in the HomeController of tiles-mustache-example yesterday, seems to be 
working pretty well.

We're using an internal library for generating URLs, written before the days of
UriComponentsBuilder.

- Phillip


Mime
View raw message