spring validation using traditional approach