This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 12890
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 ?