Still reeling from the spectacular failures of two Mars missions last year, NASA said it had learned from its mistakes and would not repeat them in an ambitious new mission for 2003. Edward Weiler, associate administrator in NASA’s Office of Space Science, said communications and software shortcomings, brought on in part staff cuts, had plagued the agency.