| Author |
using a bean value in html:image tag as the src
|
Mark Wa
Ranch Hand
Joined: May 29, 2009
Posts: 122
|
|
I have extracted a chunk of JSP code from several JSPs to a JSPF and include the JSPF in the JSPs that used to have that code in. At the same time I have refactored it and used as few scriplets as possible. However there is one scriplet I cannot get around. It adds a String of a bean onto the src of a <html:image> tag
like so:
<html:image src='<%=objectInSession.getAlias() %>/some/folder/frontpage.gif' onclick="doSomething();" />
How can I refactor this in my JSPF?
|
 |
 |
|
|
subject: using a bean value in html:image tag as the src
|
|
|