Struts Vs Taglibs

2002-03-18 Thread Chen, Gin

Hi All,
Just a curiousity question. What is the advantages of using one over
the other?
For example, alot of the tags seem to be doing the same type of tasks. (ex.
Foreach versus Iterate).
Why would one pick one approach over another?
-Tim

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts Vs Taglibs

2002-03-18 Thread Shawn Bayern

On Mon, 18 Mar 2002, Chen, Gin wrote:

 Just a curiousity question. What is the advantages of using one over
 the other? For example, alot of the tags seem to be doing the same
 type of tasks. (ex. Foreach versus Iterate). Why would one pick one
 approach over another? -Tim

My impression is that Struts will eventually accommodate the standard
taglib (JSTL) and integrate well with it.  The other taglibs in Jakarta
Taglibs are essentially just separate offerings from Struts, attempting to
address different needs (or similar needs from a different perspective).

--
Shawn Bayern
Author, JSP Standard Tag Library  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts Vs Taglibs

2002-03-18 Thread Martin Cooper

Struts contains several different tag libraries. Some, like the 'logic'
taglib, will most likely be deprecated at some point, in favour of JSTL.
Others, such as the 'html' taglib, integrate more tightly with the Struts
framework, reducing the amount of work you have to do to hook your JSP pages
up to your ActionForm and Action instances.

If you're using Struts as your application framework, then it definitely
makes sense to use the Struts 'html' taglib. It also makes sense to look at
using JSTL for the less Struts related pieces of your pages. The two should
work together without problems.

--
Martin Cooper


- Original Message -
From: Chen, Gin [EMAIL PROTECTED]
To: 'Tag Libraries Users List' [EMAIL PROTECTED]
Sent: Monday, March 18, 2002 9:40 AM
Subject: Struts Vs Taglibs


 Hi All,
 Just a curiousity question. What is the advantages of using one over
 the other?
 For example, alot of the tags seem to be doing the same type of tasks.
(ex.
 Foreach versus Iterate).
 Why would one pick one approach over another?
 -Tim

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]