Great, works! 
 
Thanks Thierry> Date: Wed, 13 Aug 2008 14:35:28 +0200> From: [EMAIL PROTECTED]> 
To: [email protected]> Subject: Re: Routing at base URI> > Hi Mike,> > 
could you try with router.attachDefault(DiscoveryDocument.class); ?> > Best 
regards,> Thierry Boileau> --> Restlet ~ Core developer ~ 
http://www.restlet.org <http://www.restlet.org/>> Noelios Technologies ~ 
Co-founder ~ http://www.noelios.com > <http://www.noelios.com/>> > > Hi,> > > > 
I'm using restlet version 1.0.10 (stable) and I'm basing my > > implementation 
on the firstResource tutorial at > > 
http://www.restlet.org/documentation/1.0/firstResource> > > > I would like to 
know how to support routing at the base URI. So when i > > type in the browser 
e.g http://localhost/RestletApp, the restlet > > server will be able to process 
this request.> > > > I tried the following code, but didnt really work, the 
serve returned > > a 404 Not Found error> > > > router.attach("/", 
DiscoveryDocument.class);> > where DiscoveryDocument is a class that extends 
the base class like > > the tutorial.> > > > Thanks and kind regards,> > Mike 
Xia> > > 
_________________________________________________________________
It's simple! Sell your car for just $40 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT

Reply via email to