You can combine the "use of template" and "content" pages into one JSP to
get n+1 JSPs.

<template:insert>
  <template:put>
    <!-- actual content -->
  </template:put>
</template:insert>

-Max

----- Original Message ----- 
From: "Peng Zhao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 4:02 PM
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]

Reply via email to