Web tier: servlets, JSP, Web frameworks: keep alive
I want to know whther have this technology that can keep jsp or servlet object alive in the VJM . Because we have some jsps and servlet be invoked frequently. So we want to make those objects keep alive[like connction pool] , not need load every time. It spends so many time .
try experimenting with the ServletContext object; in particular, the setAttribute and getAttribute methods.
in JSP, you can use the implicit 'application' variable to access the ServletContext.