I've noticed that under JRun you can access a bean's static or instance
variables directly through the <DISPLAY> tag (assuming the bean class has
access to them) using "bean.property" notation rather than "bean:property"
notation. For example, <DISPLAY PROPERTY="mybean.foo"> accesses the instance
variable foo rather than returning the results of its getFoo() method.
Since I've not seen a mention of this in the spec, I was wondering - is this
is a JRun specific implementation? It would explain why we use the colon
notation rather than "." notation.
It can be a useful construct. It allows you to access information stored
inside objects not designed to bean conventions and is a handy way to access
static identifiers that you otherwise would have to write a full set of
getter methods for.
Any of the other engines support this or did I just miss it in the spec?
--
Duane K. Fields
[EMAIL PROTECTED]
Sr. Internet Systems Engineer
Tivoli Systems, Inc.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".