Oracle
1Z0-899 · Question #5
1Z0-899 Question #5: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
You have a simple wpb application that has a single Front Controller servlet that dispatches to JSPs generate a variety of views. Several of these views require further database processing to retrieve the necessary order object using the orderID request parameter. To do this additional processing, you pass the request first to a servlet that is mapped to the URL pattern /WEB - INF / retrieveOrder.do. in the deployment descriptor. This servlet takes two request parameters, the ordered and the jspID and the jspURL. It handles the database calls to retrieve and build the complex order objects and then it dispatches to the jspURL. Which code snippet in the Front Controller servlet dispatches the request to the order retrieval servlet?
Options
- Areques.setAttribute ("orderID", orderIS);
- Breques.setAttribute ("orderID", orderIS);
- CString T= "/WEB - INF / retrieveOrder.do?orderID = %&;
- DString T= "/WEB - NF / retrieveOrder.do?orderID = %&;
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.