gif/jpeg images not displayed if the package location is changed
Rao Nadella
Greenhorn
Joined: Jan 19, 2001
Posts: 16
posted
0
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