1. The taglibs allow the separation of logic and presentation.  You can change
the implementation of a taglib without changing the JSP.

2. You need to know little, if anything, about programming or Java to use a
taglib.  I'm a programmer and know Java.  I write the taglib and hand it off to
our web team to build a web page.  The web team is made up of graphic designers
and html developers.  They rarely have to come back to me and ask me questions
about taglibs.

JMO
Clarance





[EMAIL PROTECTED] on 04/26/2001 08:49:16 PM

Please respond to [EMAIL PROTECTED]
                                                              
                                                              
                                                              
 To:      [EMAIL PROTECTED]                      
                                                              
 cc:      (bcc: Clarance Howatt/Net)                          
                                                              
                                                              
                                                              
 Subject: Re: Help me defend Struts taglibs!!!                
                                                              







Reuse.

Taglibs are callable routines for JSP pages.

Scriptlets tend to devolve into cut and paste spaghetti.

See also < http://www.servlets.com/soapbox/problems-jsp.html >

Firmin David wrote:
>
> Hi all,
> Members of my team are gradually turning against using the Struts taglibs
> and resorting to scriptlets.
> IMHO: scriptlets bad,  tags good. I've had more experience in using them
> than the others, but I'm finding it difficult to fight my corner in the face
> of ever increasing skepticism.
> Could anyone out there with really valid arguments as to why the use of the
> Struts taglibs (especially the logic tags as they're getting the most grief
> from my team at the moment) or taglibs in general is "good", or why the use
> of scriptlets is "bad" help me out (in the interest of fairness, vice versa
> arguments also happily received!)??
>
> Thanks in advance
>
> Regards
> David
>
> ************************************************************************
> The information in this email is confidential and is intended solely
> for the addressee(s).
> Access to this email by anyone else is unauthorised. If you are not
> an intended recipient, you must not read, use or disseminate the
> information contained in the email.
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Capco.
>
> http://www.capco.com
> ***********************************************************************

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/



Reply via email to