This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 234
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: 234
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: 234
Anyway....got the answer.


<display:column href="a.do" title="EDIT" ><html:image src="images/editPen.gif"/></display:column>
 
Have you checked out Aspose?
 
subject: How to show image link using display tag
 
It's not a secret anymore!