Cheers guys, much appreciated - sorry bout all the (possibly quite dumb)
q's :)

-Josh
 
-- 
 
"His comrades fought beside him, Van Owen and the rest...
       But of all the thompson gunners- Roland was the best."
 
Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 20/01/2006 8:34:04 am >>>

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







***************************************************************************
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
****************************************************************************

Reply via email to