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
 
 
_________________________________________________________________
Shout your Messenger buddies to the movies
http://www.livelife.ninemsn.com.au/compIntro.aspx?compId=4590 

Reply via email to