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 DF9E4624C for ; Mon, 30 May 2011 19:06:05 +0000 (UTC) Received: (qmail 451 invoked by uid 500); 30 May 2011 19:06:03 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 425 invoked by uid 500); 30 May 2011 19:06:03 -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 417 invoked by uid 99); 30 May 2011 19:06:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 19:06:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.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 thechrispratt@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 19:05:57 +0000 Received: by pzk10 with SMTP id 10so2359582pzk.35 for ; Mon, 30 May 2011 12:05:36 -0700 (PDT) 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=0s+R4Uo6lVcXVSY8VEoGisqT8+neCSKt/rwKVue7bec=; b=FrgRFzZRQZOgI0YlGjs0a31Dc+/A6RSnKlHy/rf/RrdTfBkPlAolTfhknjrDFWPDtx pzCJ+yYGptiIc6TTb6yucmI2LWQklvvbf/h80RxJ2vuToAWkkCS/Afpavj3tohRZ464j lDfScC6f1hzeDANJJFlfS0yyII96ECdMy9k+w= 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=ZiqvpP9QLOayyYoeI7Y3OJiFjn/b/j6CmKWSbgijgZ07bpS3c2YPprIi4c9Js74kyJ 4ndxUe1Zlk8Ydn6uZOn9mYGcAs6HI/opZhEnjOn7qL4OAXlfoCdvo+09azEjju5aXoYe QI+k8I+Wk4S0bfPTCv/HR+CEFLopmMsSFbd6M= MIME-Version: 1.0 Received: by 10.68.12.65 with SMTP id w1mr2246572pbb.294.1306782335989; Mon, 30 May 2011 12:05:35 -0700 (PDT) Received: by 10.68.42.197 with HTTP; Mon, 30 May 2011 12:05:35 -0700 (PDT) Received: by 10.68.42.197 with HTTP; Mon, 30 May 2011 12:05:35 -0700 (PDT) In-Reply-To: References: <4DE3B80C.9060903@encs.concordia.ca> Date: Mon, 30 May 2011 12:05:35 -0700 Message-ID: Subject: Re: How to allow to accept dynamic src image file? From: Chris Pratt To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=bcaec51dd12def76f904a482f8e9 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51dd12def76f904a482f8e9 Content-Type: text/plain; charset=ISO-8859-1 Argh, hit send too early. No, EL is disabled in the struts for security reasons. But OGNL should work fine. Something like src="%{#imageName}" should do the trick. (*Chris*) On May 30, 2011 12:01 PM, "Chris Pratt" wrote: > > No, EL is disabled in the struts for security reasons. But src="%{#}" > > On May 30, 2011 9:37 AM, "Dave Newton" wrote: > > On Mon, May 30, 2011 at 11:30 AM, Emi Lu wrote: > >> But does not support src = "<%%>" > > > > Does normal EL work? > > > > Dave > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > For additional commands, e-mail: user-help@struts.apache.org > > --bcaec51dd12def76f904a482f8e9--