File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes where is picture ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "where is picture ?" Watch "where is picture ?" New topic

where is picture ?

arada theera
Ranch Hand

Joined: Oct 28, 2004
Posts: 40
I use WSAD .I call report from jsp page through crystal report java viewer.Result is everything appear correctly except the button.( ex. print button )there are red cross instead of picture of button ( pictures of any button are in the path of these jar file). How can I do to fix this problem?Thank for any coming help.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
The browser needs to be able to request the image file using http, so that file needs to be in the application directory just like an html file. Servers are not allowed to respond to requests for resources under WEB-INF -
arada theera
Ranch Hand

Joined: Oct 28, 2004
Posts: 40
Thanks for your advice.I try like you said but It still doesn't work!!.What should I do?
I agree. Here's the link:
subject: where is picture ?
jQuery in Action, 3rd edition