Base64
I posted the subject in new to java forum but didn't find any solution after more than 15 days
I used different developed packages e.g. sinotar, ostermiller, sun.misc.* but don't know where I am making mistake. Please see my sun.misc.* and get me your expert opinionString text=req.getParameter("t1");
if(!text.equalsIgnoreCase(null)){
String b64Encoded=new BASE64Encoder().encodeBuffer(text.getBytes());
String b64Decoded=new String(new BASE64Decoder().decodeBuffer(b64Encoded));
out.println(b64Decoded);
}
please solve my problem. thanks in advance

