Valid 1Z0-899 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-899 Exam! ExamDiscuss.com now offer the newest 1Z0-899 exam dumps, the ExamDiscuss.com 1Z0-899 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-899 dumps with Test Engine here:
A web application for business expense reporting allows uploading expense receipts. Multiple receipts can be uploaded single step using one HTTP request. The servlet that processes the request has been marked with the @MultipartConfig annotation. Which method should the servlet use to access the uploaded files?
Correct Answer: A
Explanation/Reference: The request.getParts() method returns collections of all Part objects. If you have more than one input of type file, multiple Part objects are returned. Since Part objects are named, the getPart(String name) method can be used to access a particular Part. Alternatively, the getParts() method, which returns an Iterable<Part>, can be used to get an Iterator over all the Part objects.