Thanks Shawn and Gideon.

I rather suspected that was how I would have to proceed, but wanted an 
official declaration of that being the way to go.  Gideon is precisely 
right about the JavaBean accessor patterns and that was what made me 
realize this probably wasn't possible.  I wanted to hear from someone I 
thought had a better understanding than myself though.  While I use the 
JSTL a lot this is the first time I've crossed this situation.

... off to refactor my class - thanks for the info :-)

Shawn Bayern wrote:

>In JSTL 1.0, you cannot execute arbitrary methods of beans.  In JSP 2.0,
>you'll be able to set up EL "functions" that let you call methods you've
>decided are appropriate for page authors.
>
>In the meantime, if you have a method like getSingle(String), you may want
>to expose it as a Map with the various potential argument strings as
>keys.  Then, you'd be able to write
>
> ${bean.single['foo']}
>
>Hope that helps,
>

-- 
Eddie Bush




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

Reply via email to