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: William Hatch <email@hidden>
- Date: Tue, 29 Jul 2008 19:09:32 -0400
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