Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 99087 invoked from network); 12 Jan 2011 23:00:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 23:00:47 -0000 Received: (qmail 96069 invoked by uid 500); 12 Jan 2011 23:00:45 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 95943 invoked by uid 500); 12 Jan 2011 23:00:44 -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 95931 invoked by uid 99); 12 Jan 2011 23:00:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 23:00:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelnewton@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-ew0-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 23:00:37 +0000 Received: by ewy20 with SMTP id 20so577817ewy.35 for ; Wed, 12 Jan 2011 15:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=h4mvdqxrvh/+rIyRMZg7Cu1NWpXjM5u4w6rSYlQP1dk=; b=tOHPdn1/+3u/C3bnTsYQXqE0v+upO/+Z8wPWmSqjW663vG7OqCc7rP02pUewkL/5WN QTRaqZlC22t47BwNmQMXcao/lnuJ5s8GCkCXHpFBSFczPLL5hddHYJSYPd4NKb3zrkOh 0S5WTWvNK5YyOKws8pzOi9WhvElLOJkLpFpJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PhNXWyzNwHYWcgvtALzrGCfRkwhkuqAsfVErmkT1ac4/qbj40kdFieIVwaqjP3gSTL N86BkBnaGclvnbIEuG7uhK9VFuZsYDR95a4OgGQntv8kOW8NmSYXTUNYrVRkAQ6+96SO J83o+P1Na0GsfL2paoECMJNnkraHOqWK3kE5s= MIME-Version: 1.0 Received: by 10.213.35.194 with SMTP id q2mr4813788ebd.65.1294873216941; Wed, 12 Jan 2011 15:00:16 -0800 (PST) Received: by 10.213.34.83 with HTTP; Wed, 12 Jan 2011 15:00:16 -0800 (PST) In-Reply-To: References: Date: Wed, 12 Jan 2011 18:00:16 -0500 Message-ID: Subject: Re: Strtus2: httpheader result does not sent headers with hyphenated names From: Dave Newton To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=0015174c0e261ffeb20499ae2a5c X-Virus-Checked: Checked by ClamAV on apache.org --0015174c0e261ffeb20499ae2a5c Content-Type: text/plain; charset=ISO-8859-1 Did you try my original answer?! Dave On Wed, Jan 12, 2011 at 10:59 AM, Jose Luis Martinez Avial < jlmartinez@pb-santander.com> wrote: > Hi all, > > I'm using Struts .2.1.8.1, and I've found a problem when I use > result type httpheader and I try to use a header name with a hyphen. > They don't get sent. For example, the following result definition: > > type="httpheader"> > > 401 > > NTLM > > my header > > NTLM > > > > I receive the headers "a" and "WWWAuthenticate", but no the header > "WWW-Authenticate". Is there any way to fix this behaviour? > > > > Thanks. > > > > Jose > > > > > > Internet communications are not secure and therefore Banco > Santander International does not accept legal responsibility for > the contents of this message. Any views or opinions presented > are > solely those of the author and do not necessarily represent those > of Banco Santander International unless otherwise specifically > stated. > > Las comunicaciones via Internet no son seguras y por lo tanto > Banco Santander International no asume responsabilidad legal > ni > de ningun otro tipo por el contenido de este mensaje. Cualquier > opinion transmitida pertenece unicamente al autor y no > necesariamente representa la opinion del Banco Santander > International a no ser que este expresamente detallado. > > --0015174c0e261ffeb20499ae2a5c--