RE: Problem with multiple virtual hosts

2007-01-24 Thread Jerome Louvel
Hi all, From an HTTP point of view, the browser has no way to know the actual file name that was used by the server for the resource /jar, therefore it proposes it as the name to save. If you want a different name, just change your URI to http://wasatch:8182/myfile.jar Best regards, Jerome

Re: Problem with multiple virtual hosts

2007-01-24 Thread Sean Landis
This was the issue. Thanks Thierry. Thierry Boileau thboileau at gmail.com writes: Sean, I forget : can you try to define the JAR_URI with the file path and not the file URI (check the constructor ;) ), such as : I don't intend to make any excuses for my inability to read JavaDoc

Re: Problem with multiple virtual hosts

2007-01-24 Thread Thierry Boileau
I don't intend to make any excuses for my inability to read JavaDoc correctly, but this does beg a question. Should Directory and FileRepresentation constructors be consistent since they are dealing with similar things. Should they both take a URI or should they both take a File/path? I

Newbie question on the Resource changes in RC3

2007-01-24 Thread Brandon Lonac
Hello... I just recently found this project and after evaluating decided to use it for a project that I am starting. Great project, I am very impressed so far. I am planning to run Restlet inside Jetty and Spring. Based on the Spring example for configuring all the restlets and URIs in the

Re: Newbie question on the Resource changes in RC3

2007-01-24 Thread Valdis Rigdon
Hello... I just recently found this project and after evaluating decided to use it for a project that I am starting. Great project, I am very impressed so far. I am planning to run Restlet inside Jetty and Spring. Based on the Spring example for configuring all the restlets and URIs in the

PatternSyntaxException when a variable is used more than once in a template

2007-01-24 Thread Vincent
When you reuse a variable in a template (e.g. router.attach(/{p1}/{p1}/foo,MyResource.class);), you get this exception when you try to GET the URI: java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 90 /((?:[a-zA-Z0-9\-\.\_\~]|\ [ -- stuff deleted --]

Re: Newbie question on the Resource changes in RC3

2007-01-24 Thread Ryan Daum
Brilliant! Thanks for the tip, I was wondering how I was going to do this. R On 1/24/07, Valdis Rigdon [EMAIL PROTECTED] wrote: Hello... I just recently found this project and after evaluating decided to use it for a project that I am starting. Great project, I am very impressed so far.