posted 15 years ago
I have a single error page with relative paths to images. Each page of my web application uses the jsp errorPage attribute to redirect there if there is an exception. The problem is: if the exception occurs on a page in a different directory level than the error page, the relative paths on the error page no longer work. Do you always need to use absolute paths for images on a page you are redirecting to? How else could I solve this?