struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: How to allow <s:submit> to accept dynamic src image file?
Date Mon, 30 May 2011 19:05:35 GMT
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" <thechrispratt@gmail.com> wrote:
>
> No, EL is disabled in the struts for security reasons.  But src="%{#}"
>
> On May 30, 2011 9:37 AM, "Dave Newton" <davelnewton@gmail.com> wrote:
> > On Mon, May 30, 2011 at 11:30 AM, Emi Lu <emilu@encs.concordia.ca>
wrote:
> >> But <s:submit> 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
> >

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message