• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Light alternative to SiteMesh/Tiles?

 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Currently we have a set where each page in the application is defined in a JSP (inner JSP), and there is a separate JSP (outer JSP) which includes the inner JSP to apply styles, menu, layout and a bunch of other stuff. The initial reason was that the outer JSPs are managed by the creatives using DreamWeaver, and the inner files are managed by developers.

It works fine, except that the one ne nature between the two files and the fact that there are a small set of styles for the outer pages, I would like to reverse the behaviour.

Specifically I am looking for something like SiteMesh where you can define a set of templates, and then define which template gets applied to a request. I'd prefer something light as I am not prepared to introduce Struts or Spring, and SiteMesh caches the entire output before sending, which is also unacceptable.

Suggestions?
 
roses are red, violets are blue. Some poems rhyme and some are a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic