• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

image click action .....

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.........
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic