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
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
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
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
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
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 --]
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.
7 matches
Mail list logo