Re: Application front door URL

時期精霊 <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Kieran Kelleher wrote:
> Check out these methods in WOApplication .... applicationBaseURL, 
> baseURL and cgiAdaptorURL ..... just log the output of all three to 
> figure out which you need. You may need to combine one of them with the 
> name() method of WOApplication.
> 
> On Feb 21, 2006, at 4:03 AM, Markus Ruggiero wrote:
> 
>> Probably simple, but I cannot find an answer: How can an application 
>> find out its own front door url? (/cgi-bin/WebObjects/MyApplication), 
>> be it direct action or component action.
>>
>> Thanks
>> ---markus---
>>
>>

We use WOActionURL for this. You can also use it programaticaly.

I never decompiled it to see how it worked. But I'm sure not sure you 
can achieve the same effect with DOCUMENTED api.

Anyway, if you find something else. I'll be happy to know.

Regards

-- 
Kuon
CEO - Goyman.com SA
http://www.goyman.com/

"Computers should not stop working when the users' brain do."

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.