February 03, 2004

The new expression language in JSP 2.0 and Jakarta Velocity's notation!

Just was studying the new JSP 2.0 expression language. While I was really excited to see that the new language is more like OGNL (an already accepted and used stuff) and those old ugly stuffs are going be deprecated, I got sort of depressed when got into the block-styles such as ugly < c : if >, < c : foreach > and < c : set >... Why a new style when there are wide spreaded, already accepted and used syntaxes like Jakarta Velocity 's ones? :-(
Explicitly talking, I like Velocity syntax for these kinds of blocks and in my opinion they're more recognizable within a large block of XML code. Don't you prefer the following syntax? Isn't it more straight forward?

< p >
#if( $action.hateJSPStyle )
I < b >hate< / b > the new JSP expression language.
#else
I < b >do not hate< / b > the new JSP expression language. It seems tolerable...
#end
< / p >

I hope those working on specs have enough reasons for going that way! I myself do not like to have many standards in my mind all for one purpose!!

Armond

Posted by armond at February 3, 2004 03:09 PM
Comments