• 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
Re: Identify a resource in apache webserver directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identify a resource in apache webserver directory


  • Subject: Re: Identify a resource in apache webserver directory
  • From: "Shravan Kumar. M" <email@hidden>
  • Date: Thu, 31 Jul 2008 10:29:17 +0530
  • Organization: effigent India Pvt Ltd.,

Thanks for your help Bill. I am looking for code sample that could help me more clearly.

BTW, actually I would like to upload some files from my application to a location in web server. So I am looking for a best approach/ API/ Library which helps me achieve this.

Thank You
Shravan Kumar. M
effigent India Pvt., Ltd.,
----------------------------------------



William Hatch wrote:
The href binding for things like image, css, etc is your best bet. Give it the absolute apache path to the resource you'd like to retrieve. If you want to determine which resource you want to retrieve based on some app logic, you can bind the href to some method that would determine it. Be careful to use absolute paths; relative paths will have the app looking under the WebObjects<yourApp> directory instead, which is also an option. Hope this is what you're looking for.

Bill


On Jul 28, 2008, at 1:32 PM, email@hidden wrote:

Hello Group,

I have some solution of finding webserver url by going thru WORequest
object. I am looking for a more standard way of achieving this task.

Could any one please advise best practice to retrieve/store a resource
into a Apache  Webserver directory.

For Eg: I have a css file master.css stored in the following location in
my server /Library/WebObjects/MyProject/master.css, how can I retrieve
this file in my WOApp dynamically, either at dev/deploy times. Also, I
would like to store few images at this location.

Please advise me a best methodology to achieve this req.

Thanks in advance.

Thank You
Shravan

_______________________________________________
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



_______________________________________________
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


References: 
 >Identify a resource in apache webserver directory (From: email@hidden)
 >Re: Identify a resource in apache webserver directory (From: William Hatch <email@hidden>)

  • Prev by Date: Re: WOLongResponsePage
  • Next by Date: Re: Eclipse WO + SVN
  • Previous by thread: Re: Identify a resource in apache webserver directory
  • Next by thread: Basic EO Caching ?
  • Index(es):
    • Date
    • Thread