String linkStr=new String(new Base64().encodeBase64Chunked(new String("conferid="+cid+"&status="+ht.get("status")+"&staffId="+staffId).getBytes())); linkStr = linkStr.replaceAll("[\s* ]", "");