• 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
URI for static html/image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URI for static html/image


  • Subject: URI for static html/image
  • From: Vincent Coetzee <email@hidden>
  • Date: Sun, 26 Feb 2006 22:05:32 +0200

Dear List,

I have added some images and static html files to my WebObjects project, specifically to my WebServerResources group, my project is called DATest, and hence my woa is DATest.woa. I am referring to them in my html as

	"/WebObjects/DATest.woa/WebServerResources/server.html"

however at runtime I receive the following error

<com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri. file: /Library/WebServer/ Documents/WebObjects/DATest.woa/WebServerResources/server.html; uri: / WebObjects/DATest.woa/WebServerResources/server.html

I have checked in my woa package and the files are there. How should I be referencing these files ?

TIA

Vincent

_______________________________________________
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


  • Follow-Ups:
    • Re: URI for static html/image
      • From: Mark Morris <email@hidden>
  • Prev by Date: (no subject)
  • Next by Date: Re: How to return Response in same context from another thread?
  • Previous by thread: Re: Multiple Language Support
  • Next by thread: Re: URI for static html/image
  • Index(es):
    • Date
    • Thread