• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOImage er.extensions.ERXStaticResourceRequestHandler - Unable to getcontents of file '\C:\Apple\workspace...'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: [Announce] WO Community Directory
  • Next by Date: Re: Ajax Modal Container question
  • Previous by thread: New EOGenerator templates section on the Wiki
  • Next by thread: AND build error, need help
  • Index(es):
    • Date
    • Thread