Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 12917 invoked from network); 26 Jul 2008 01:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2008 01:02:10 -0000 Received: (qmail 79501 invoked by uid 500); 26 Jul 2008 01:02:00 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 79491 invoked by uid 500); 26 Jul 2008 01:02:00 -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 79480 invoked by uid 99); 26 Jul 2008 01:02:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 18:02:00 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [140.172.10.145] (HELO paris.boulder.noaa.gov) (140.172.10.145) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 01:01:04 +0000 Received: from noaa.gov (paris.boulder.noaa.gov [140.172.10.145]) by email.boulder.noaa.gov (iPlanet Messaging Server 5.2 HotFix 2.01 (built Aug 26 2004)) with ESMTP id <0K4L00ILD9C8TK@email.boulder.noaa.gov> for user@struts.apache.org; Sat, 26 Jul 2008 00:57:44 +0000 (GMT) Received: from [75.71.14.221] by email.boulder.noaa.gov (mshttpd); Fri, 25 Jul 2008 18:57:44 -0600 Date: Fri, 25 Jul 2008 18:57:44 -0600 From: John.C.Cartwright@noaa.gov Subject: Re: [S2] url tag to construct href in different namespace To: Struts Users Mailing List , newton.dave@yahoo.com Message-id: <1dfdd31df338.1df3381dfdd3@noaa.gov> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.01 (built Aug 26 2004) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Virus-Checked: Checked by ClamAV on apache.org Just what I needed - thanks! --john ----- Original Message ----- From: Dave Newton Date: Thursday, July 24, 2008 5:31 pm Subject: Re: [S2] url tag to construct href in different namespace > Namespaces typically begin with a "/"; try that. > > Dave > > --- On Thu, 7/24/08, John Cartwright > wrote: > > From: John Cartwright > > Subject: [S2] url tag to construct href in different namespace > > To: "Struts Users Mailing List" > > Date: Thursday, July 24, 2008, 7:23 PM > > Hello All, > > > > I'm trying to use the url tag to construct a href which > > goes to a > > different namespace. It seems that all of the constructed > > URLs have the > > same base as the original page. > > > > For example, given a page reached at: > > http://lynx.ngdc.noaa.gov:8080/tideloader/message/View.action > > > > The markup listed below produces this URL: > > > http://lynx.ngdc.noaa.gov:8080/tideloader/message/observation/View.action?localId=amkaC&operatorId=1> > > when what I actually want is this URL: > > > http://lynx.ngdc.noaa.gov:8080/tideloader/observation/View.action?localId=amkaC&operatorId=1> > > > > > > forceAddSchemeHostAndPort="true" > > includeParams="none" > > includeContext="true" > > namespace="observation" > > scheme="http"> > > > value="key" /> > > > value="message.operatorId" /> > > > > "> > > > > > > > > > > Can someone please show me the correct way to do this? > > > > Thanks! > > > > --john > > > > > > ------------------------------------------------------------------ > --- > > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org