fixed check for non-empty map in uploadsuccess.jsp