Wednesday, September 20, 2000, 12:43:24 PM, you wrote:

> hi list,

>     i have a string like this =  'Man clothes'

> when i call a servlet i do it like that:

>     ..../servlets/myservlet?str=Man clothes&......

> but it does not work.. because it only gets up to

>     ..../servlets/myservlet?str=Man

Look up EncodeURL in the API.  I'm not sure the exact name(I think
thats right), but it will encode the URL and return the string so that
will be valid in the URL.

--

/Robert\

***************************
Email: [EMAIL PROTECTED]
ICQ:   82789555

___________________________________________________________________________
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

Reply via email to