W3C home > Mailing lists > Public > www-annotation@w3.org > July to December 2001

Re: Problem with URI based on jsp

From: Jose Kahan <jose.kahan@w3.org>
Date: Fri, 19 Oct 2001 09:21:06 +0200
To: Denis Lemarchand <dlm@club-internet.fr>
Cc: www-annotation@w3.org
Message-ID: <20011019092106.F8671@inrialpes.fr>
Hello Denis,

On Thu, Oct 18, 2001 at 05:02:15PM -0400, Denis Lemarchand wrote:

> I use Annotea Via JavaScript and I cannot retrieve annotations previously
> created.
> 
> This problem only occur when the URI is like
> ....servlet/page?_pageid=124&_dad=portal30&_schema=PORTAL30&_mode=3&_languag
> e=fr
> 
> I have made many tests and it's alway the same result : When I use Annotea
> with well formed URI as www.domaine.top/dir/.../file.html it's Ok, and when
> a part of the URI contains any ? or ..jsp it's not.
> 
> Is it quite normal ?

I think that your problem is that you need to escape the URI you want to
store in the server. Otherwise, the annotea server itself will interpret
the special characters, such as ?, & and so on.

Have you tried using entities (&amp;) or hex escaped characters (%xx) in the
URL name?

-jose
Received on Friday, 19 October 2001 03:30:22 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Friday, 25 March 2005 11:19:17 GMT