I want to create an encoded URL for my site. Say for example, for this URL: \"http://google.com/index.html\"
I want to give this URL to the client by URL encoding it
Try in your JSP code:
Base64.encodeBase64( "http://google.com/index.html")