Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 90698 invoked from network); 5 Mar 2009 08:09:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 08:09:52 -0000 Received: (qmail 35056 invoked by uid 500); 5 Mar 2009 08:09:42 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 35029 invoked by uid 500); 5 Mar 2009 08:09:42 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 35016 invoked by uid 99); 5 Mar 2009 08:09:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 00:09:42 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 08:09:34 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lf8dl-00025q-QY for user@struts.apache.org; Thu, 05 Mar 2009 00:09:13 -0800 Message-ID: <22346941.post@talk.nabble.com> Date: Thu, 5 Mar 2009 00:09:13 -0800 (PST) From: kate_cl To: user@struts.apache.org Subject: Re: Get Server Port In-Reply-To: <7270d7cd0903022238o6b77d1f9tc6b4096a9e1e0131@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: virgurlive09@yahoo.com References: <22302338.post@talk.nabble.com> <7270d7cd0903022238o6b77d1f9tc6b4096a9e1e0131@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi,the request is null when i'm running a schedule task. A thread will wake up at certain time and send email to user. I need to include the server url in this,including the server port and context path. Nils-Helge Garli wrote: > > When is the request null? And what do you need the server port for? > > Nils-H > > On Tue, Mar 3, 2009 at 5:24 AM, kate_cl wrote: >> >> Hi,anyone know how to get server port if request is null? >> -- >> View this message in context: >> http://www.nabble.com/Get-Server-Port-tp22302338p22302338.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Get-Server-Port-tp22302338p22346941.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org