On Tue, 28 May 2002, J P wrote:

> Is it possible using the current JSTL default expression language

Just to make sure it's clear, there is only one JSTL Expression
Language.  In the past, we provided a few for experimentation, with one
being the default.  In JSTL 1.0, there is a single expression language and
no option of pluggability.  Books and other materials that suggest this
are incorrect or out of date.

> to access Javabeans properties on an object deriving from List?
> 
> For example
> 
> public class MyObject implements List {
> 
>    ... definition of list methods ...
> 
>    public String getName();
> 
> }

No, the object's nature as a List occludes its JavaBean properties.  You
can wrap the object in another object that has a getList() method along
with other accessors that retrieve the object's properties directly.

-- 
Shawn Bayern
"JSP Standard Tag Library"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to