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"<[email protected]>  wrote:

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

On May 30, 2011 9:37 AM, "Dave Newton"<[email protected]>  wrote:
On Mon, May 30, 2011 at 11:30 AM, Emi Lu<[email protected]>
wrote:
But<s:submit>  does not support src = "<%%>"

Does normal EL work?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
[email protected]        +1 514 848-2424 x5884

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to