Is this what you mean? I was thinking yes.
But a bean is not supposed to be used this way. Michell's notes says,
A declared java bean can also be accessed using:
scriptlets
Expressions
Custm Tags
And sure the code you posted is a scriptlet.
So yes. IMO, the issue is not whether you are
supposed or not?
It is "Can you access the bean like this or can't you?"
My answer is "Yes, JSP allows such access."
Other thoughts please.....
Thanks.
- satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81