But tags have one main advantage, the "view" builder doesn't have to
understand Java and it is easy to intergrate the tags in a wysiwyg jsp
editor. We use that kind of tags to make our webpages, eg see jsp
and all we have to do is to make a xml based editor...
with scriplets this is impossible.
***** begin jsp ****
<template:insert template="/document/html.homepage.jsp">
<template:put name="banner"
content="/element/banner/html.standard.jsp"/>
<wf:choose>
<wf:whenUser level="2">
<template:put name="leftbar"
content="/element/leftbar/html.standard_level2.jsp" />
</wf:whenUser>
<wf:whenUser level="1">
<template:put name="leftbar"
content="/element/leftbar/html.standard_level1.jsp" />
</wf:whenUser>
<wf:otherwise>
<template:put name="leftbar"
content="/element/leftbar/html.standard.jsp" />
</wf:otherwise>
</wf:choose>
<template:put name="content"
content="/element/content/html.homepage.jsp"/>
<template:put name="menu" content="/element/menu/html.homepage.jsp"/>
</template:insert>
***** end jsp ****
----- Original Message -----
From: "Wong Kok Wai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 7:41 AM
Subject: Re: Contribution: 1) IF, AND, OR, THEN, ELSE, ELSEIF tags 2)
SWITCH, CASE, DEFAULT tags
> No offense, but I feel it is much better in
> performance to use Java scriptlets for these cases.
> The overhead of the tags is just too high to justify
> using them.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>