Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 95243 invoked from network); 5 Nov 2007 14:45:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 14:45:18 -0000 Received: (qmail 58763 invoked by uid 500); 5 Nov 2007 14:44:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58738 invoked by uid 500); 5 Nov 2007 14:44:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 58727 invoked by uid 99); 5 Nov 2007 14:44:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 06:44:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.191.69.172] (HELO web33809.mail.mud.yahoo.com) (209.191.69.172) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Nov 2007 14:45:23 +0000 Received: (qmail 47213 invoked by uid 60001); 5 Nov 2007 14:44:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=5Go+zSg2V3AdjhTdHgkj7tw1EypDjbOyANrPMYDz0g9HdOnJ0soNAKmXrcbAYtuTMrgkV7ju+6yB0XCsAJPT+A3EfUoVscl/sb/ArYq9ekYFzlHIYoXiaVd2OqoomwzLzsNArN2BndtXWqjmzUoFCTn+Z+n7GgDNDs0OH7V60VU=; X-YMail-OSG: kJwtVJMVM1kk4AzsszAUcqO4s4bn5j1AD5_1dDWcv4ev4dnFvNmTbT0dDhN3D2yiFrDJLYS3o4ctkpqiYsnmWdc1obPmohFI_JjHPNgBsnJxlhcIuk9SzSA4RrJYaw-- Received: from [67.187.68.24] by web33809.mail.mud.yahoo.com via HTTP; Mon, 05 Nov 2007 06:44:33 PST X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.152 Date: Mon, 5 Nov 2007 06:44:33 -0800 (PST) From: Wade Chandler Subject: Re: running! a servlet at tomcat startup To: Tomcat Users List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <257792.47148.qm@web33809.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I can see why you might want to load on startup, but the ability to actually perform a get when there is not client makes no sense at all to me. What exactly are you planning to achieve by doing such a thing? Wade ----- Original Message ---- From: loredana loredana To: users@tomcat.apache.org Sent: Monday, November 5, 2007 3:32:01 AM Subject: running! a servlet at tomcat startup This issue is a classic one already I think. I've googled it and haven't found anything that could help solving this problem. I'm probably not the one to think about this but...if you would add the 1 to a servlet, and from the init() method you would somehow try to call the doGet() method, wouldn't that do it? wouldn't that run the servlet at startup? did anybody try this already? I am trying to do this but I'm having some problem creating HttpServletRequest and Response objects so I can call doGet(). So if anyone did this already, pls let me know how this issue can be fixed! 10x a lot! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org