Do I need Struts to get tiles to work?
- what files or plugins do I need to get tiles:insert to work? Do I need struts? I'm about 2 seconds away of 开发者_开发百科just doing JSP include for everything. plz help thx!!
You do NOT need Struts to use tiles. You can use just plain JSPs. If you need JSP support, copy the tiles-jsp-VERSION.jar to the WEB-INF/lib directory of your web application.
sounds like the decorator pattern would suit you..
check out sitemesh http://www.opensymphony.com/sitemesh/
精彩评论