No, you really don't want that. You really want the first path - that reflects where your wep app is running. Thus your web app was deployed to D:\Eclipse\ScriptPerfect\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ScriptPerfect\WebContent, so you want the code to look within that directory (or a subdirectory) for all contents.
Did you look in D:\Eclipse\ScriptPerfect\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ScriptPerfect\WebContent\images to see if the image you want is there? Eclipse should have copied it (and the rest of the web contents) from D:\Eclipse\ScriptPerfect\WebContent (assuming that your workspace is d:\Eclipse and that your project's name is ScriptPerfect).