Bear Bibeault wrote:Well, where would the object exist? If not in one of the scopes, where would it be?
You're not still using scriptlets in your JSP, are you?
I finally was successfull with this one, I just put MyOwnJavaObject into request scope with key "whatever".
and yes, I "have to" solve this one using scriptlets. And yes I know I shouldn't use them, although the reason isn't quite clear. I know that they make code more ugly (which in my opinion EL does also, or loops and if-clauses using JSTL) and they don't allow reuse. But let's face it, how many components can one really reuse? And if the goal is reusable components (which it should be) that can be arranged using something else, like
servlets, xml, POJO etc..