File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes gif/jpeg images not displayed if the package location is changed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "gif/jpeg images not displayed if the package location is changed" Watch "gif/jpeg images not displayed if the package location is changed" New topic
Author

gif/jpeg images not displayed if the package location is changed

Rao Nadella
Greenhorn

Joined: Jan 19, 2001
Posts: 16
Hello - Here is the problem:
I have created my code in a separate package in the IBM JSP Examples Project. And my html/jsp pages are in the default location - under hosts/default_app/web/... In this environment
all my images in the jsp file folder or in a separate directory
under the jsp/images would be displayed fine.
When I copied the same package to an entirely different project, the servlet(s) code and the jsp navigational code works fine, except - in this case - the images are not displayed at all.(both gif,and jpeg formats)
Also, I have tried to give the total url for the gif/jpeg files to test - for eg., http://localhost:8080/test/myJsps/myPict.gif
and this does not display the image either.
I am stumped. Did anyone come across this kind of a problem?
Any help is much appreciated.
Thank you,
-Rao
 
 
subject: gif/jpeg images not displayed if the package location is changed
 
Threads others viewed
simple JSP and JavaBean, error 500
how to insert an image
Need help with web.xml file
sendRedirect problem
Why does even the http://localhost:8080 test fail at other location????
developer file tools

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