On 1/19/06, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
> What I mean is, can you use it inside third party (and your own) tags?


By "it" do you mean EL expressions?  If so, the answer is yes.  The tags
don't have to know anything about this, because the JSP page compiler
generates the code to evaluate the expression before calling the setter on
your tag handler.

This is unlike the case prior to JSP 2.0, where the page compiler knew
nothing about expressions, so you could only use them in tag attributes of
tags that had special logic to do the evaluations themselves.

Also, can you use it to get the result of a method that's not really a
> GETTER? Such as size() on a collection, even though there's no getSize()
> method?


There is EL syntax for calling static methods, but not instance methods like
List.size().

Cheers,
> -Josh


Craig

Reply via email to