File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Image Loading Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Image Loading" Watch "Image Loading" New topic
Author

Image Loading

Thameem Aliyar
Ranch Hand

Joined: Oct 11, 2011
Posts: 42
I had done a demo application using jsp. And i tried to display some images which is located in the server folder. It has done by using the IP address path of that image folder.. It has been success full in IE. But it doesn't get displayed in chrome and Mozilla. What's the problem with the functionality. Kindly send me a feasible solution.
Thanking you in advance.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

You should be using server-relative addressing fro you resources (like images) that start with the context path. See the JspFaq for more details.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
IntelliJ Java IDE
 
subject: Image Loading
 
Threads others viewed
to know the contents uploaded by the upload component
Servlet and Image
How to display image
Saving image on server in directory structure vs in database
DISPLAY an IMAGE
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture