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

display image in struts form?

michelle Wang
Ranch Hand

Joined: Jan 12, 2004
Posts: 65
I use this code try to display image, but cannot work...
<html:image src="\jsp\images\calendar.gif">

Any one can post a sample code?Thanks!


michelle Wang <br />SCJP 1.4
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
url's use forward slashes...e.g <html:image src="/jsp/images/calendar.gif">


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
 
subject: display image in struts form?