You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Gregory Guthrie <gu...@mum.edu> on 2003/06/07 14:18:38 UTC

Why not allow direct EL?

Why was it decided to not allow simple EL expressions in JSP itself, 
without requiring it as a tag expression?

E.g.
   Today is ${date.today}.

v.s. requiring a <c:out .... />
to get EL expressions.

Yes, it would require a change to JSP, or a global encompassing tag to 
invoke a pre-processor(!), but it seems much more convenient, and natural. 
Like Jakarta Velocity.  :-) Velocity pages are certainly a lot simpler to 
read/write.

Just wondering why JSP evolution didn't chose to include this direction of 
feature(s).

Gregory

--------------------------------------------------------
Gregory Guthrie
guthrie@mum.edu         (641)472-1125    Fax: -1103
-------------------------------------------------------- 


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


Re: Why not allow direct EL?

Posted by Gregory Guthrie <gu...@mum.edu>.
At 11:02 AM 06/07/2003 -0400, Serge Knystautas wrote:
>Gregory Guthrie wrote:
>>Just wondering why JSP evolution didn't chose to include this direction 
>>of feature(s).
>
>Please read the JSP 2.0 spec.  That's exactly what is supported.

-- Very neat, thanks; I hadn't seen that yet. I guess I'll wait for Tomcat 
5.0 release!

>Serge Knystautas

--------------------------------------------------------
Gregory Guthrie
guthrie@mum.edu         (641)472-1125    Fax: -1103
-------------------------------------------------------- 


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


Re: Why not allow direct EL?

Posted by Serge Knystautas <se...@lokitech.com>.
Gregory Guthrie wrote:
> Just wondering why JSP evolution didn't chose to include this direction 
> of feature(s).

Please read the JSP 2.0 spec.  That's exactly what is supported.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. sergek@lokitech.com



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