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]>

Reply via email to