Re: Problem with URI based on jsp

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 (&) or hex escaped characters (%xx) in the
URL name?

-jose

Received on Friday, 19 October 2001 03:30:22 UTC