keep alive
  1. keep alive (1 messages)

    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 ^_^

    Threaded Messages (1)

  2. keep alive[ Go to top ]

    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.