Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 11307 invoked from network); 16 Dec 2002 20:20:37 -0000 Received: from exchange.sun.com (HELO nagoya.betaversion.org) (192.18.33.10) by daedalus.apache.org with SMTP; 16 Dec 2002 20:20:37 -0000 Received: (qmail 26072 invoked by uid 97); 16 Dec 2002 20:21:43 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@jakarta.apache.org Received: (qmail 25997 invoked by uid 97); 16 Dec 2002 20:21:41 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 25980 invoked by uid 98); 16 Dec 2002 20:21:40 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 16 Dec 2002 12:20:22 -0800 (PST) From: "Craig R. McClanahan" To: Struts Developers List Subject: Re: Reloading ActionServlet configuration In-Reply-To: Message-ID: <20021216121915.L7560-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 16 Dec 2002, Ron Monson wrote: > Date: Mon, 16 Dec 2002 14:38:52 -0500 > From: Ron Monson > Reply-To: Struts Developers List > To: struts-dev@jakarta.apache.org > Subject: Reloading ActionServlet configuration > > Since the reload() method has been removed from ActionServlet effective > 1.1b2 I am trying to find an alternative way of 'reloading' the > configuration on-the-fly. Simply calling init() again or destroy() and then > init() does not seem to work. Also, the destroy() method doesn't seem to be > completed yet. > > Does anyone have any suggestions?? > Calling init() and destroy() yourself on a servlet violates the servlet spec rules, and will definitely cause undefined behavior. Use the application reload facilities of your servlet container. Tomcat, for example, offers the manager webapp's "reload" command. > Thanks, > > Ron Craig -- To unsubscribe, e-mail: For additional commands, e-mail: