Path of uploaded images of users are stored in database.I am fetching image path and displaying in jsp page.Previously it was showing properly in jsp but i have redeployed war file that is not showing the images. I am using tomcat 6. How to resolve this
Asked
Active
Viewed 292 times
0
-
try to use firebug to see what the path is coming and than see if the images are there? – Umesh Awasthi Apr 02 '12 at 10:34
-
What is this path? Do you mean you are fetching the action to return the image, because you already stated that the image is in the DB, so there is no file path... – Quaternion Apr 02 '12 at 17:03
-
@UmeshAwasthi i tried with firebug its showing HTTP Status 404 - My image path stored in db is /img/profile/704619c8rrcm90el_udoxzumzaaj91304413022250_9d032qf3m1133285_p.jpg which is same as image stored under profile folder – xrcwrn Apr 03 '12 at 05:42
-
@Manish: follow the suggestion of `BalusC`? – Umesh Awasthi Apr 03 '12 at 06:02