Re: Identify a resource in apache webserver directory
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