O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging URL and Path Problems

URL- and path-related problems are some of the easiest to diagnose and resolve because they tend to be binary in nature—they either work consistently or they fail consistently.

Images Are Not Displayed

If image files (and other files) aren’t always displayed when you reference them from within ColdFusion, the problem might be path related. If you’re using relative paths (and you generally should be), be sure that the path being sent to the browser is valid. Having too many or too few periods and slashes in the path is a common problem.

Tip

Most browsers let you check image paths (constructing full URLs from relative paths in your code) by right-clicking (Windows) or Control-clicking (Mac) the image and viewing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required