tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schlegel <schle...@software.b.uunet.de>
Subject Re: Encoding URL fails
Date Thu, 26 Apr 2001 09:38:25 GMT
Thanks for help. It is running now :-)

Greetings,
Andreas


Wolle wrote:

> hello,
> you could make a workaround.
> simple useurl =  encodeURL("url") + "&parameter=bla";
>
> Greetings,
> WOlle
>
> Andreas Schlegel wrote:
>
> > Hi,
> >
> > I have a problem encoding a string containing the character '&' and put
> > it as param in an URL
> >
> > If I encode A&P the URLEncoder.encode(value) returns A%26P. But if I put
> > this result string as parameter in an URL, the URL contains A&P. So what
> > can I do to have the encoded value in the URL?
> >
> > I am a little bit confused because if I do the same using a string
> > containing the character '?' everything is fine!
> >
> > Greetings,
> > Andreas




Mime
View raw message