Re: request.getParameter() decode a url incorrectly

2002-09-25 Thread Chris Pratt
#x27;&' characters in the source url are lost !!! > This is my problem > > > ----- Original Message ----- > From: "Galbreath, Mark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 25, 2002 4:46 PM > Subject: Re: reque

Re: request.getParameter() decode a url incorrectly

2002-09-25 Thread Chris Pratt
It sounds like you encoded the whole URL, rather than just encoding the values of the query arguments.  That won't work, you need to encode just the query argument values, so that your final URL looks something of the form:  http://host.domain.com/path/file.html?arg1=Encoded+Value&arg2=Encod

Re: request.getParameter() decode a url incorrectly

2002-09-25 Thread M. Amin
?pageid=33,31479dad=portalsch ema=PORTALmode=16" in which all the '&' characters in the source url are lost !!! This is my problem - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Septemb

Re: request.getParameter() decode a url incorrectly

2002-09-25 Thread Galbreath, Mark
Why? Didn't you get it by telepathy like the rest of us? Mark -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 8:59 AM On Wed, 25 Sep 2002, M. Amin wrote: > Dear All, > I used java.net.UrlEncoder class to encode my url but when i re

Re: request.getParameter() decode a url incorrectly

2002-09-25 Thread Milt Epstein
On Wed, 25 Sep 2002, M. Amin wrote: > Dear All, > I used java.net.UrlEncoder class to encode my url but when i read > the decoded url which is sent as request parameter using > request.getParameter method i found the url id decoded incorrectly > and all the encoded '&' characters are missed. > I