File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Issue with html:img Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Issue with html:img" Watch "Issue with html:img" New topic
Author

Issue with html:img

srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
Hi all,

I have a changepassword JSP page wich contains Image.firsttime i am getting the image if i hit the page directly.
once the username and password are entered wrongly i need to show the same JSP page but this time it goes to action and displaying the page but the image is not visible.

first time : I am able to see the image
<html:img src="../images/unet_banner.gif" align="left"/>

once going to action and displaying the same page i am unable to view the image.

Please help me . I will be very thank full.
Siddharth Naik
Ranch Hand

Joined: Apr 09, 2006
Posts: 35
Try changing attribute src value to start from root of the application rather than relative to its current location


Thanks<br />Sid
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with html:img
 
Similar Threads
image click action .....
dispaly image in jsp page
calling an action through html:img tag
image click action .....
Image is not reloading on JSP page refresh