This sounds more like a web application problem than a Java problem. In general, most if not all web servers will ONLY serve files that exist in a relative path below the root directory of the web service. This is for security reasons so that outsiders can't just wander around on the server's hard disk at will.
HOWEVER, some *do* allow access to absolute paths IFF the access rights to those paths are set properly for the user the web server runs as.
I would suggest you post your question on a forum oriented toward the web server you are using, or contact your web host's support department (not usually fruitful for these types of problems).
the problem is not so as you did understand
Problem description
I have web application clients users upload images I read the images from the request Object and I save it in a folder "tempData" in the web application
myApp/ tempData
after upload user will see their uploaded images to check
I try to display the uploaded images in browser using relative path
notice local on my home pc works fine
but by my web hoster images can not be displayed an I am sure it is a path problem
meine question how can I use the absoulute path in javascript to find
the uploaded images
thanks