• Post Reply Bookmark Topic Watch Topic
  • New Topic

image click action .....  RSS feed

 
smitha mano
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
urgent
image click action ??
in my struts jsp page i have an image like this

<html:img page="/images/${view.photo}" />

when i click on the image it will go the another page.
how to do this?
please help me.........
 
sgp sundar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use html:img with in html:link

eg:

<html:link href="add.jsp">
<html:img src="E:\Design\arrow.jpg"></html:img></html:link>

if u click this arrow image the control will forward to add.jsp
[ October 24, 2005: Message edited by: sgp sundar ]
 
smitha mano
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my struts jsp page,
have one listDetails.jsp
in this jsp page have one link like this



blablablablablablablablablablablablablabla
blablablablablablablablablablablablablabla
blablablablablablablablablablablablablabla
ReadMe...

above tests ReadMe is a link of struts html like
<html:link action="history.do?id=${view.historyCode}">ReadMe>></html:link>
when i click on the ReadMe link its go another page
here in this page passing "action with no actin class"
<action path="/Humayun" forward="page.Humayun" />
here Humayun.jsp is a static page.
in below area, have one image .
the image is war.jpg. this war.jpg is from war table.
when i click on the image it will display all details from war of war table.to another page warDetails.jsp

how to solve this problem
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!