tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Gin" <>
Subject RE: missing if/else syntax (What about catch?)
Date Fri, 09 May 2003 14:21:27 GMT
I remember a long time ago there was a discussion on whether JSTL was
intuitive enough for the non-java programmer.
I've even had experience with having a non-java developer successfully use
But let's face it. How many HTML developers (or those with no programming
experience) will think JSTL as their first solution? Most of them would pick
up something a little more intuitive like PHP etc that offers much more
non-business examples then JSTL. Even the name JSTL stands for JavaServer
Pages Standard Tag Library. Which implies a understanding of Java. We (the
Java developers) SHOULD be the target audience of a this project. Even if
the subtarget is new java developers with no previous JSP experience. At
least one should assume an elementary experience with Java.
Why make specs to an audience that probably won't even bother with JSP much
less JSTL?
Why not just make it to who we all know WILL use it?

Just my 2 cents. (and now I'm broke)

-----Original Message-----
From: Serge Knystautas []
Sent: Friday, May 09, 2003 9:05 AM
To: Tag Libraries Users List
Subject: Re: missing if/else syntax (What about catch?)

Mark R. Diggory wrote:
> So! What about "catch" folks??? Here we have a tag I've seldom found a 
> use for. How am I supposed to use this tag? Seems counter-intuitive to 
> not have a try block, doesn't it. On top of this, there is no fine 
> grained control of exception catching in the catch tag, how do I catch 
> one exception, but not another?

JSTL supports...

<c:catch var="ex">

You can then do <c:if> on the ex variable if you want different 
exception types handled differently.

Also, Pierre, Shawn, and us zombies intentionally did not adopt many 
Java conventions as Java developers were not the target audience for 
JSTL.  We were shooting for people with little to no programming 
experience, but with experience writing HTML.

At times, we would use similar names and conventions as Java, but then 
were very careful to have JSTL and Java behavior act identically to 
avoid confusion (even if the Java way was less than intuitive).

Serge Knystautas
Lokitech >> software . strategy . design >>
p. 301.656.5501

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message