Just solved a problem that's I've been banging my head against. PROBLEM: The resource manager is leaving off the Contents component of the name when loading the resources into memory. For the most part everything will function fine unless you have static files in the WebServerResources. The problem is when the URL's are created the Contents directory is left off. So instead of the correct http://hostname/cgi-bin/WebObjects/AppName.woa/Contents/WebServerResources/image.jpg you get http://hostname/cgi-bin/WebObjects/AppName.woa/WebServerResources/image.jpg as your link.
SOLUTION: You have a copy of your Info.plist file in the Resources directory of the woa. Remove that, or place it back into the Contents directory if its missing there. Somehow one of my projects ended up with an extra Info.plist file in the Resources directory and I didn't notice it. On the plus side I've learned a LOT about the resource loading mechanisms. Eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
