Dear Friend,
Use encode function of URLEncoder class to encode the url.
URLEncoder.encode("xxx")
If you are passing parameter from an HTML file use escape("DKJD DJD ")
function of java script for encoding url.
If you find any problem please email you code.
Regards,
Deepak Kumar
[EMAIL PROTECTED]
http://www.roseindia.net
----- Original Message -----
From: Prasad Moganna Gowda <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 07, 2000 1:53 AM
Subject: Characters which are encoded in URL query string.
> Hi All,
>
> Does anyone have or know a website which contains a list of characters
which
> will be replaced
> by the encodeUrl method, like space is replaced with %20.
>
> I have a url whose query string has a name value pair like the one below.
>
>
hidQCode=BOC&hidUserCheckBoxValues=abc+123|doc1|wpid1|04/06/1999+02:20#zxc+4
> 56|doc2|wpid2|02/12/1999+12:24
>
> when I try to get the value fo hidUserCheckBoxValues, I get only one half
of
> the string upto the "#" i.e.
> the string "abc+123|doc1|wpid1|04/06/1999+02:20", the remaining string
gets
> truncated.
>
> Any help/hint is appreciated.
>
>
> Thanks,
> Prasad M
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html