Why do I have to set the array as an attribute? Why can't I access it on the same page without setting it an an attribute.
posted 12 years ago
The EL needs to find the variable(and its value) in some namespace. The namespace it looks at are page, request, session, and application. Declaring a scripting variable does not add the variable to any namespace. Hence you have to use setAttribute.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads