On Tue, 22 Jan 2002, Jack Frosch wrote:

> Having only worked with Struts for a couple of months, I'm beginning to
> wonder about the costs and benefits of using Struts, or any other JSP tag
> library, for that matter.
> [SNIP]

the big problem ive been having, coming from a WebObjects environment, is
that its not so easy to set up reusable components.  for instance, one of
my components creates a table.  another component builds on that and
creates a table of checkboxes.  doing this in a taglib is impossible ( to
my knowledge ), so one has to do it ina JSP.  icky.

taglibs seem to be kind of one-shot deals: they render a font tag, an
image tag, a table tag, print out the value of a bean, etc.  and thats it.
in one of the current projects im working on, we need to display search
results in a specific manner.  however, there are at least 7 different
ways to generate search results, each of which has their own action (
with some common search classes shared in between them all ).  i wasnt
able to just say "ok, this component will display an item the way we want
it.  as you're looping through, just use this one component."  that irked
me greatly.  its partially due to Tomcat 3.x not supporting jsp:include's
inside of custom tags, so i am taking that into consideration... but for
the most part, im unimpressed with taglibs.

---
Howie <[EMAIL PROTECTED]>   URL: http://www.toodarkpark.org


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

Reply via email to