tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ikeda <anthony.ik...@proxima-tech.com>
Subject RE: server side includes Vs TagLibs
Date Tue, 17 Oct 2000 23:18:55 GMT
Con you point me in the right direction to some examples?

Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology
+612-9458-1718


> -----Original Message-----
> From: dkarr@tcsi.com [mailto:dkarr@tcsi.com]
> Sent: Friday, October 06, 2000 04:32 AM
> To: taglibs-user@jakarta.apache.org
> Subject: Re: server side includes Vs TagLibs
> 
> 
> >>>>> "Justyna" == Justyna Horwat <Justyna.Horwat@eng.sun.com> writes:
>   Justyna> It depends on what your doing. SSIs allow you to 
> include outputs from
>   Justyna> servlets at certain points in the page. You can do 
> simple inclusions to a
>   Justyna> primarily static page.
> 
>   Justyna> Custom tags are more flexible. They can be 
> described as javabeans with
>   Justyna> access to the pagecontext. Tags can be nested, set 
> attributes, and write
>   Justyna> directly to the output stream.
> 
>   Justyna> So, for instance, if you wanted to apply the model 
> view controller pattern
>   Justyna> to your web apps you'd want to separate the 
> controller business logic from
>   Justyna> the view data. Custom tags would be one way of 
> separating the business logic
>   Justyna> from the jsp view of the data.
> 
>   Justyna> Justyna
>   Justyna> < horwat@eng.sun.com >
> 
>   Justyna> ----- Original Message -----
>   >> Can anyone suggest any reasons/literature on why Taglibs 
> should be used
>   >> instead of server side includes?
> 
> Perhaps one simple example of the value of JSP/Taglibs over SSI would
> be the "xsl:apply" tag (from the Apache general "taglibs" taglib),
> which at page request time, allows us to process an XML file with an
> XSL stylesheet to present truly dynamic content.
> 
> -- 
> ==============================================================
> =================
> David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI 
> & Best Consulting
> Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)
> 

Mime
View raw message