anchor.diff:              var validFileNames = true;
               var emptyFields = true;
   
  -            if (document.webappUploadForm.warFileName.value != null) {
  +            if (document.webappUploadForm.warFileName.value) {
   
                   var jarinput = document.webappUploadForm.warFileName.value;
                   if (jarinput != '') {
  
positive.code:                     CARBON.showWarningDialog('<fmt:message key="whitespace.contains.webapp"/>');
                      validFileNames = false;
                  }
              } else if (document.webappUploadForm.warFileName[0].value != null) {
                
  
                  for (var i=0; i<document.webappUploadForm.warFileName.length; i++) {
  
negative.code:                 }
              }
  
               if(document.webappUploadForm.version.value){
  
                   var appVersion =  document.webappUploadForm.version.value;
                   if(appVersion.indexOf("#")!=-1) {
  