Looking through the examples again I see I missed a crucial line:

component.getClients().add(Protocol.FILE);

All working now :)

On Fri, May 2, 2008 at 12:41 PM, Mark Derricutt <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I'm noticing odd/broken behaviour with the Directory restlet under 1.1m3
> and the current snapshot build.  I'm using the following code:
>
>     public static void main(String[] args) throws Exception {
>         // Create a container
>         Component component = new Component();
>         component.getServers().add(Protocol.HTTP, 8182);
>

-- 
"It is easier to optimize correct code than to correct optimized code." --
Bill Harlan

Reply via email to