Running a simple example

2006-10-19 Thread Piyush Purang
Hi Jerome, I wanted to update my code. Before that in order to comprehend things I started implementing some simple use cases. The following code doesn't work as intended I always get a 404 public class Playground { public static void main(String[] args) throws Exception {

RE: Running a simple example

2006-10-19 Thread Jerome Louvel
: Piyush Purang [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 octobre 2006 17:28 À : discuss@restlet.tigris.org Objet : Running a simple example Hi Jerome, I wanted to update my code. Before that in order to comprehend things I started implementing some simple use cases. The following code

Re: Running a simple example

2006-10-19 Thread Piyush Purang
Hi Jerome, I added this line host.getAllowedNames().add(localhost); and now my url localhost:8182/something works but 127.0.0.1:8182/something doesn't work Using getDefaultHost() and then attaching the target works fine in both the cases. And when I do VirtualHost