instance.setotp(otp_pwd);
java.util.Date date = new java.util.Date();
java.sql.Timestamp param = new java.sql.Timestamp(date.getTime());
instance.settime(param);
//automatically check if we have matching userid & empid (logic is in OTPDaoImpl.java)
otpBO.save(instance);
this.sendEmail(email, username, instance.getotp());
return "OPTCreationSucess";