READ Free Dumps For Oracle- 1z0-899
Question ID 4689 | Your web application uses a simple architecture in which servlets handle requests and then forward to a JSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation. This information must NOT be accessible to any other servlet, JSP or session in the webapp. Which two techniques can you use to accomplish this goal? (Choose two) |
Option A | A. Add attributes to the session object. |
Option B | B. Add attributes on the request object. |
Option C | C. Add parameters on the request object. |
Option D | D. Use the pageContext object to add request attributes. |
Option E | E. Add parameters to the JSP’s URL when generating the request dispatcher |
Correct Answer | B,E |
Question ID 4690 | 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 |
Option A | A. HttpServletRequest.getParts() |
Option B | B. HttpServletRequest.getData() |
Option C | C. servletRequest.getParts() |
Option D | D. servletRequest.getAllParts() |
Correct Answer | A |