But u are missing the obvious point... With jsp include, if you want to change the layout, or some generic cahange, u will have to change all n pages..And with template u will just change 1 jsp..The template jsp..That is the real reason..to make the maintenance easy..
BTW, if u use tiles instead of Tmplate tags then u will have just n +1 jsps plus 1 definition file...And it is very easy to implement..Very similar to the template... -----Original Message----- From: Peng Zhao [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 1:03 AM To: [EMAIL PROTECTED] Subject: Template VS JSP:include which one is better? As a website of n pages, the template method will have 1(template) + 2*n(one use template, the other is "content") = 2*n+1 JSPs the jsp:include method only have n(pages) + m(header, footer...) = n+m --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]