Starting a website

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Starting a website

Dirk Verleysen
How do I tell my SwazooServer which page it should take when I enter
http://localhost:8888 ?

 

Is it the AIDASite with the defaultUrl = '/' ?

 

Dirk

------------- volgend deel ------------
Een HTML-bijlage is verwijderd...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20070928/d028cf0a/attachment.htm 

Reply | Threaded
Open this post in threaded view
|

Starting a website

Janko Mivšek
Hi Dirk,

Dirk Verleysen wrote:
> How do I tell my SwazooServer which page it should take when I enter
> http://localhost:8888 ?
>
> Is it the AIDASite with the defaultUrl = ?/? ?

Yes, you register your (usually root) domain object with '/' URL:

(AIDASite named: 'aidademo') urlResolver
        defaultURL: '/'
        forObject: yourRootObject

Best regards
Janko

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si