On 05/30/2011 03:05 PM, Chris Pratt wrote:
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*)


Thank you very much Chris! It works.

bean.java

private String image_filename ;
===================================
show.jsp

<s:submit type="image" src="%{image_filename}" theme="simple" action="methodnameProcessAction" />

Emi





On May 30, 2011 12:01 PM, "Chris Pratt"<thechrispr...@gmail.com>  wrote:

No, EL is disabled in the struts for security reasons.  But src="%{#}"

On May 30, 2011 9:37 AM, "Dave Newton"<davelnew...@gmail.com>  wrote:
On Mon, May 30, 2011 at 11:30 AM, Emi Lu<em...@encs.concordia.ca>
wrote:
But<s:submit>  does not support src = "<%%>"

Does normal EL work?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




--
Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
em...@encs.concordia.ca        +1 514 848-2424 x5884

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to