This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to show image link using display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to show image link using display tag" Watch "How to show image link using display tag" New topic
Author

How to show image link using display tag

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi All,

Can somebody give me the code to show a image link(showing image in a link) in display tag.


Thanks in Advance,
Kousik
Purohit Punam
Greenhorn

Joined: Oct 06, 2008
Posts: 13
please post some detailed question. you want image to be displayed as link?, or in a text link you want to put image?


Thanks,
Purohit Punam
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
The first one.

I want the image to be displayed as a link and clicking the link a javascript function will be called.

Hope it is clear now.
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Anyway....got the answer.


<display:column href="a.do" title="EDIT" ><html:image src="images/editPen.gif"/></display:column>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to show image link using display tag
 
Similar Threads
Image load on IE is getting problem
Displaying images on JSP page
Dynamic Image Creation
Writing Image Bytes on Response Stream
Graphical Representaion on the browsers