My advice (from experience) would be to go with jstl.

just one value attribute instead of name and property:
name="beana" property="beanb.beanc"
...becomes...
value="${beana.beanb.beanc}"

The choose tag with multiple whens makes jsps a lot less messy. No longer
need to make complicated nestings of logic:equal and logic:notEqual, etc
tags.  Provides more of the if then else structure.

el makes the logic easier...
dont need all of the logic tags, instead just use the choose+when or if tag.

<c:if test="${bean.property > 10}"> </c:if>

Continuity accross tags is very good.

I find generally that our non java programmers (eg web designers, other tech
ppl) find jstl easier to use than struts tags, and much easier than
scriptlets :)

Daniel.

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Linus Nikander
Sent: 18 May 2004 11:34
To: [EMAIL PROTECTED]
Subject: Re: Struts Taglib recommendations


Point taken ;)

>From what I know right now we'll be using taglibs mostly to iterate and
display collections of beans. There might be some logical branching (
equals, bigger than, smaller than ) involved. I've used the struts taglibs
extensively but find some parts of it, beans nested several levels for
example, quite tedious to work with.

//Linus


"Andrea M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
That's a pretty vague question
There's plenty of taglib out there
Please specify what you are looking for, cause I don't think you'll find
people here writing you a comprehensive list of all of the taglibs existent
:)

Andrea


-----Messaggio originale-----
Da: news [mailto:[EMAIL PROTECTED] Per conto di Linus Nikander
Inviato: marted́ 18 maggio 2004 11.08
A: [EMAIL PROTECTED]
Oggetto: Struts Taglib recommendations

Has anyone made a comparison of the various taglibs out there that can be
used with struts ? I'm about to start working on a project and have been
asked to evaluate our options. Which taglib (or combinations of different
taglibs) do you use when developing ? What are the advantages of one over
another (or of one combination over another)?

//Linus Nikander




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




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


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

Reply via email to