"Srini Sathya." wrote:
>
> I am attaching a code snippet which checks if the query string contains " "
> and if yes then it will replace with "+". Pass your query as a parameter to
> the method replaceStrings().
>
Is there any particular reason you don't
just use java.net.URLEncoder.encode()?
-cks
___________________________________________________________________________
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