throw new ServletException(ex);
}
//only continue if the username/password has been verified
if (passwordVerified) {
iSecurity security = new Security();
//verify the credit card number - only continue if it has been verified
if (security.ValidateCreditCard(cardNo)) {
Boolean orderCreated = false;
Timestamp orderDate = new Timestamp(new Date().getTime()); //record the current time
//retrieve the order object stored as a session attribute
//store the current time as the order date