Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 60873 invoked from network); 24 Sep 2008 20:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2008 20:15:34 -0000 Received: (qmail 47659 invoked by uid 500); 24 Sep 2008 20:15:21 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 47627 invoked by uid 500); 24 Sep 2008 20:15:21 -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 47616 invoked by uid 99); 24 Sep 2008 20:15:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 13:15:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zarars@gmail.com designates 74.125.78.24 as permitted sender) Received: from [74.125.78.24] (HELO ey-out-2122.google.com) (74.125.78.24) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 20:14:22 +0000 Received: by ey-out-2122.google.com with SMTP id 5so30647eyj.59 for ; Wed, 24 Sep 2008 13:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=efanXkqiextc8M1s2CSSmYACI7AbPuI87lnbAQ5y3xw=; b=vjlx7sfzoD4dw1a13R0nXydxumHbf1IGNkxbibpWhMnFTaK4JKsQS/BFQK387ZuXW0 cdR2n+I1o0iQ2LZOpOgU9zVrXh3QG/U2Pt1bjaqZtmeS5V23Z3ticdIErN8/8WPEJLP5 iL71j8f+zCdgY4L+7ye+KTFRqrozK17JoNN8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=NzP/64ba4/qsGrrKsoxfcAMNVNK0r7vtw6t3fk/WnpbxgopKku+n0nEHQTJcx1aXsX 9/M2Phr9hZ0zAzvPMSoEgWsM2InvMStBhFtqb6+BVtXHNwkDbvZ4zPYBDqIvJ/F6FvVs +4rfpOthJqSZ6zG3tci1hyW7AQbwrSxTsETiA= Received: by 10.210.81.10 with SMTP id e10mr8985846ebb.44.1222287277425; Wed, 24 Sep 2008 13:14:37 -0700 (PDT) Received: by 10.210.24.14 with HTTP; Wed, 24 Sep 2008 13:14:37 -0700 (PDT) Message-ID: <891edd880809241314p1e92d10m218258044dbbd70e@mail.gmail.com> Date: Wed, 24 Sep 2008 16:14:37 -0400 From: "Zarar Siddiqi" To: user@struts.apache.org Subject: Using JSP 2.0 syntax inside Sitemesh decorator MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_66584_24779634.1222287277432" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_66584_24779634.1222287277432 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I can't believe I haven't run into this issue before but I just noticed that you can't use JSP 2.0 syntax inside a Sitemesh decorator. My Sitemesh config is exactly like as described here: http://struts.apache.org/2.x/docs/sitemesh-plugin.html The only difference is that I'm using PageFilter instead of FreeMarkerPageFilter since I'm not using Freemarker. If I store something in session under a key called "user", I should be able to access it like so: ${user} or ${sessionScope.user} inside a JSP page. It works fine on standalone JSP pages but not inside decorators. Any idea what the workaround or fix here is? Thanks, Zarar ------=_Part_66584_24779634.1222287277432--