Hi all,
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 .
Thanks ^_^
-
keep alive (1 messages)
- Posted by: snow fish
- Posted on: January 23 2002 22:57 EST
Threaded Messages (1)
- keep alive by joseph yi on January 31 2002 14:13 EST
-
keep alive[ Go to top ]
- Posted by: joseph yi
- Posted on: January 31 2002 14:13 EST
- in response to snow fish
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.