File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using a bean value in html:image tag as the src

 
Mark Wa
Ranch Hand
Posts: 122
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic