aspose file tools*
The moose likes Struts and the fly likes image click action ..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "image click action ....." Watch "image click action ....." New topic
Author

image click action .....

smitha mano
Ranch Hand

Joined: Sep 26, 2005
Posts: 70
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

Joined: Oct 08, 2005
Posts: 3
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

Joined: Sep 26, 2005
Posts: 70
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: image click action .....