WOImage er.extensions.ERXStaticResourceRequestHandler - Unable to getcontents of file '\C:\Apple\workspace...'
WOImage er.extensions.ERXStaticResourceRequestHandler - Unable to getcontents of file '\C:\Apple\workspace...'
- Subject: WOImage er.extensions.ERXStaticResourceRequestHandler - Unable to getcontents of file '\C:\Apple\workspace...'
- From: "Sennikov, Dimitri" <email@hidden>
- Date: Fri, 25 Jan 2008 11:08:13 -0500
- Thread-topic: WOImage er.extensions.ERXStaticResourceRequestHandler - Unable to getcontents of file '\C:\Apple\workspace...'
Hi,
I’m trying to use dynamic WOImage component by setting
its filename binding to ‘scale_green.gif’. I have this image stored
in WebServerResources directory and it does exist in the build. When I open
WebObjects page, the image is not displayed although the default
“box” that is displayed when image is not found takes the size of
the actual image. I’m developing on Windows with Eclipse/WOLips.
After some playing around I got to conclusion that the
problem here is in the url format of a colon being passed in as £ and so
ERXStaticResourceRequestHandler is not able to find the image in C£\Apple\...
rather than C:\Apple
This doesn’t work:
http://localhost:2612/cgi-bin/WebObjects/WebApp.woa/_wr_/wodata=/C:/Apple/workspace/WebApp/build/WebApp.woa/Contents/WebServerResources/scale_green.gif
This works:
http://localhost:2612/cgi-bin/WebObjects/WebApp.woa/_wr_/wodata=/C:/Apple/workspace/WebApp/build/WebApp.woa/Contents/WebServerResources/scale_green.gif
I’m using Internet Explorer 7 for this, and have tried
Firefox which produces same result.
Does anybody else have the same problem or have a solution
to this?
Kind regards,
Dmitri
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden