struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: Ranko like question: What is the sense of some of these tags libs ?
Date Wed, 23 Jul 2003 14:27:26 GMT
--- "Bailey, Shane C." <SHANE.C.BAILEY@saic.com> wrote:
>  
> 
> As Ranko asked, about the redundancy of Struts I would like to know that
> the
> heck is the deal with SOME of these tag libs out there?
> 
> I mean, look at this: <c:if test="${index%2==0}"> and look at this: <%
> if(index.intValue()%2==0){ %>
> 
> I like NOT to use Java scriptlets in my JSPs and I am pretty decent at
> achieving that but
> 
> if my only resolve of using a "tag" is to have it look like CODE and not
> a
> true tag why
> 
> have people (code maintainers and the original coder in the first place)
> learn a new "language"
> 
> and just use a scriptlet?

If you extend your example to use nested properties, maps, lists, etc you
will start to see why the <c:if> tag is easier.

>
> Seeing $var like tag code that makes me think this is some sort of
> conspiracy so that all the 
> 
> UNIX admins, with their UNIX scripts, who needed new jobs, since WinTel
> is
> taking over, 

This is a rather skewed perception of reality.

David

> starting
> 
> writing "tag" libraries.
> 
>  
> 
> I mean really, what is the deal with these so called "tags" that aren't
> tags?
> 
> JavaScript was cool when it came out (and wasn't developed by Sun)
> because
> if you knew Java then 
> 
> you were about 90% there to being a great JavaScripter.
> 
>  
> 
> So I say Ranko, are you just as bewildered at this as I am?
> 
>  
> 
> :-)
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message