Added Java to validate submit for newsletter form