I put data into Servlet Context,like follows:

 public void init() throws ServletException
 {
   context=getServletContext();
   if(context.getAttribute("table_info_tbl")==null)
   {
       ...
       context.setAttribute("table_info_tbl",data);
   }
 }

I use Tomcat to deploy Servlet.
data is from a Database,it may change according environment.I want to dynamic and 
automatically refresh Servlet Context about 1 hour without restarting Tomcat.I want to 
know how to do it?
Thanks in advance!
Edward

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to