This commit is contained in:
Francesco Mangiacrapa 2013-03-12 15:41:02 +00:00
parent 1412b80a9c
commit b1fd9d7d22
1 changed files with 0 additions and 5 deletions

View File

@ -192,11 +192,6 @@ public class UploadServlet extends HttpServlet {
if(uploadType.compareTo(FILE)==0) {//IS FILE UPLOAD if(uploadType.compareTo(FILE)==0) {//IS FILE UPLOAD
//DEBUG
// System.out.println("MimeTypeUtil.isZipContentType(contentType) "+MimeTypeUtil.isZipContentType(contentType));
// System.out.println("extension.compareToIgnoreCase(D4ST) "+extension.compareToIgnoreCase(D4ST));
// System.out.println("extension.compareToIgnoreCase(D4SR) "+extension.compareToIgnoreCase(D4SR));
boolean isZipFile = MimeTypeUtil.isZipContentType(contentType); boolean isZipFile = MimeTypeUtil.isZipContentType(contentType);
if(isZipFile && (extension.compareToIgnoreCase(D4ST)==0)){ //Create REPORT TEMPLATE if(isZipFile && (extension.compareToIgnoreCase(D4ST)==0)){ //Create REPORT TEMPLATE