hi sumit,

No, a FileResource is not provided with restlet, but you can easily
create one. In getRepresentation, you can use a FileRepresentation to
return the correct file

Richard

On 9/14/07, Sumit Lohia <[EMAIL PROTECTED]> wrote:
> I have a Component and a single Application in my environment. Within the
> component, I'd like to attach the route '/favicon.ico' to be served from a
> static file and everything else to be routed to the Application.
>
> How can I achieve this within the component? Is there a FileResource (just 
> like
> the Directory) that I can use?
>
> Thanks.
>
> Sumit
>
>


-- 
Richard Bronkhorst
Software Developer

Noterik BV
P.O. Box 15189
1001 MD Amsterdam
The Netherlands

T: +31 (0)20 5929 966
F: +31 (0)20 5929 969

www.noterik.com / www.noterik.nl / www.streamedit.com

Reply via email to