JSP application scope objects in Java library
- by FrontierPsycho
I am working on a preexisting web application built with JSP, which uses an external Java library. I want to make some JavaBeans that were instantiated with jsp:useBean tags available to the Java code.
What would be a good practice to do that? I suppose I can pass the objects in question to every function call that requires them, but I'd like to avoid that.