Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat Java templating frameworks/engines allow remote templates?
    text
    copied!<p>I've got an intermediate amount of experience programming in Java and a fairly advanced amount of experience programming web applications in other languages. I'm currently in the process of learning some of the Java web frameworks (Spring MVC, Struts.)</p> <p>Where I work, we have a number of individual Java web applications, deployed in separate contexts and as separate wars. A few of the oldest are servlets, many are Struts 1, and the new ones will be Spring 3. </p> <p>Most of the existing applications have inconsistent or no branding (graphics/decoration), and one of the things I am looking into is <strong>applying a consistent header and footer across multiple sites that we can maintain in one place</strong>. Ideally it wouldn't even have to be on the same server as the web applications. To be clear-- whereever I configure my template, I want to be able to configure <a href="http://some.other.server/template" rel="nofollow">http://some.other.server/template</a> instead of WEB-INF/template.</p> <p>I would like to use <strong>SiteMesh</strong> or something with the same "decorating" approach but I researched it, and apparently the only way this has been done in SiteMesh 2 was done by someone who forked the code and customized it to allow remote templates to be imported. (I found this information on the Sitemesh3 Google group.)</p> <p>I'm at the beginning of designing this solution so I suppose we could use anything like <strong>Velocity, Freemarker, Tiles</strong>. However, where I work we are slow to update old apps and conservative in adopting new technologies, so I have to prove a solution has good community support, works with Struts 1 and Spring 3 MVC, and is fairly trustworthy and stable.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload