Added UI validation to all JSPs and also corrected a test case.