• 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
Query - Path to WebServerResources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Query - Path to WebServerResources


  • Subject: Query - Path to WebServerResources
  • From: "Peter Thompson" <email@hidden>
  • Date: Thu, 28 May 2009 14:58:44 +1200
  • Importance: High

Hello,

 

We have just re-deployed to our current development server, and the application is now resolving URL’s to the Web Server (i.e. WebServerResources) differently.

 

We are getting URLs like ..../app.woa/WebServerResources/... when we expect (and have previously got) .../app.woa/Contents/WebServerResources/... so it is no longer expecting a Contents directory (so now our images etc... do not resolve – they do if we copy the whole WebServerResources folder directly under the WOA folder)

 

E.g. we have a logo defined in the WOD as:

 

logo: WOImage {

      filename = "images/logo.gif";

      width = "183";

      height = "56";

}

 

On the page this resolves as:

 

http://<ourURL>/WebObjects/<ourAPP>.woa/WebServerResources/images/logo.gif

 

when we expect (and previously got):

 

http:// <ourURL>/WebObjects/<ourAPP>.woa/Contents/WebServerResources/images/logo.gif

 

Can someone shed some light on this – particularly how is the URL determined?

 

Thanks,

Peter Thompson

 _______________________________________________
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: Query - Path to WebServerResources
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: Classpath somehow different between develop and deploy? Solved?
  • Next by Date: Stable Installer Update (5744)
  • Previous by thread: Re: Classpath somehow different between develop and deploy? Solved?
  • Next by thread: Re: Query - Path to WebServerResources
  • Index(es):
    • Date
    • Thread