Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B744243BD for ; Fri, 1 Jul 2011 13:29:13 +0000 (UTC) Received: (qmail 12279 invoked by uid 500); 1 Jul 2011 13:29:11 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 12259 invoked by uid 500); 1 Jul 2011 13:29:10 -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 12251 invoked by uid 99); 1 Jul 2011 13:29:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 13:29:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelnewton@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 13:29:02 +0000 Received: by iwi5 with SMTP id 5so4412661iwi.35 for ; Fri, 01 Jul 2011 06:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9kRIE7pXG/ynZizHFmbSYBp5AnMqZaUmaJIU0goE6ZQ=; b=gbLz5d1WTGRZL2hAVlDbPnjp598CcugbPVGmHr2Dei4pTqoN+k9jEbfZh89Y9e/CMG fWBfUBeCWDgLP2m5XOQlDtWS87yj1r/iCTElOnIOUM06V+6hk8NvxsDKczNO82/zVxd/ NuDKnbWm7ya8MFNzqpWz5mEC055LcR76aBsZk= MIME-Version: 1.0 Received: by 10.42.159.131 with SMTP id l3mr3717167icx.298.1309526921497; Fri, 01 Jul 2011 06:28:41 -0700 (PDT) Received: by 10.42.224.2 with HTTP; Fri, 1 Jul 2011 06:28:41 -0700 (PDT) Received: by 10.42.224.2 with HTTP; Fri, 1 Jul 2011 06:28:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Jul 2011 09:28:41 -0400 Message-ID: Subject: Re: strange behavior of s:a tag with s:include tag inside From: Dave Newton To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=90e6ba6e82e2facd1f04a701feef X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e82e2facd1f04a701feef Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Unless the JSP is processed through an action, the original comment in the jira ticket is correct. Recall that a filter can stop processing a request, which is what happens i= f it's not a request that hits an action. Dave On Jul 1, 2011 8:59 AM, "=E1=CC=C5=CB=D3=C1=CE=C4=D2 =F7=D9=D3=CF=CB=CF=D7= " wrote: > Hello all. > > I have two files. > > test.jsp > -------- > <%@ page language=3D"java" contentType=3D"text/html; charset=3DUTF-8" > pageEncoding=3D"UTF-8"%> > <%@ taglib uri=3D"/struts-tags" prefix=3D"s" %> > > href=3D"javascript:some-javascript-method('%{#attr.depId}')"> > > > > test2.jsp > --------- > <%@ page language=3D"java" contentType=3D"text/html; charset=3DUTF-8" > pageEncoding=3D"UTF-8"%> > <%@ taglib uri=3D"/struts-tags" prefix=3D"s" %> > > 1 > > The result of call http://localhost:8080/myapp/test.jsp is: > 1 > > as we can see, second evaluation of %{#attr.depId} is missing (must be > javascript:some-javascript-method('1')). I cannot understand why it > happens. > But when I remove line = from > test2.jsp file and call again I receive correct result: > 1 > > Is this a bug or I do not understand something in Struts2? --90e6ba6e82e2facd1f04a701feef--