No it is just the request uri and the request uri of the ajax call will
always be

http://foo.bar:8080/app/?xxxxxx=yyyyy


so that is correct.

And looking at the code you also can see that that last piece CurrentPage is
stripped out (as it should) in the make to absolute path code

Just Debug it




On Sun, Jun 7, 2009 at 19:03, smallufo <small...@funp.com> wrote:

> 2009/6/7 Johan Compagner <jcompag...@gmail.com>
>
> > >
> > >
> > >
> > >
> > > a1 = http://foo.bar:8080/app/CurrentPage
> > > s1 = http://foo.bar:8080/app/CurrentPage
> > >
> > > a2 = http://foo.bar:8080/app/
> > > s2 = http://CurrentPage/ <http://currentpage/> <http://currentpage/>
> > >
> > >
> > > a1 , s1 are correct ,
> > > a2 , s2 are totally wrong.
> > >
> >
> >
> >
> > a1 , s1 en a2 are all correct.
> >
> > but why s2 is a result when a2 is the input for that toAbsolutePath is
> > weird.
>
>
> Why a2 is correct ?
> I think a2 should be identical to a1 (and s1) ...
>

Reply via email to