Thursday, 19 September 2013

Can and cannot see pictures in jsp project depending on port

Can and cannot see pictures in jsp project depending on port

I inherited a project from a previous programmer, when I run the code on
the server, there are a list of images that are shown and not shown.
I checked they're path and they have:
http://localhost:8888/images/small/classified/1135/...
in common.
The images for
http://localhost:8080/...
are showing fine, port 8888 doesn't show anything.
Could you please advise me what to check?
here's my properties file
jdbc.driverClassName = org.gjt.mm.mysql.Driver
#jdbc.url = jdbc:mysql://localhost:3306/pets_db
#jdbc.username =root
#jdbc.password =12345
#image.path=http://localhost/images/
#image.itemDirectory=C:/wamp/www/images/
#image.profile=profiles
#image.classified=classified
#domain=localhost.com

jdbc.url = jdbc:mysql://localhost:3306/mypets_db
jdbc.username = root
jdbc.password = 12345
image.path=http://localhost:8888/images/
image.itemDirectory=C
:\wamp\www\images
image.profile=profiles
image.classified=classified
domain=mypets.pk
discussions.url=http://www.mypets.pk/discussions/
forums.registration=http://localdomain.com/forums/
ftp.fileName=public_html/sitemap.xml

ftp.url=mypets.pk
ftp.username=root
ftp.password=
syndication.url = http://localhost:8080/syndication-engine/event.do
url.default = http://www.myPets.pk/pets/
activation.url = http://www.myPets.pk/pets/accountActivation
myclassified.url = http://www.myPets.pk/pets/myClassifieds
mailserver.host=mail.mypets.pk

mailserver.username = support@mypets.pk
mailserver.password = zxcvbn
default.category = 16
brand.other = 2
user.super = 01
# Classified type 2 for Pets
# From classified type we will get whether additional info section be
shown to user
classified.type = 2
classified.restType = 2

No comments:

Post a Comment