READ Free Dumps For Oracle- 1z0-899
Question ID 4633 | When using Servlet asynchronous API if you want to dispatch the request back to a particular url - "/url" within the same Servlet Context which of the following API would you use? |
Option A | A. ASyncContext.dispatch(); |
Option B | B. AsyncContext.dispatch("/url"); |
Option C | C. AsyncContext.dispatch(servletContext, "/url"); |
Option D | D. AsyncContext.start(runnable); |
Option E | E. RequestDispatcher.fotward("/url"); |
Option F | F. RequestDispatcher.forward(servletContext, "/url"); |
Correct Answer | B |
Question ID 4634 | Which describes a trigger that causes a call to an AsyncListener? |
Option A | A. Completion of processing |
Option B | B. Receipt of a new request from the same client |
Option C | C. Addition of a new filter to the processing stream for this request |
Option D | D. Completion of each timer interval |
Correct Answer | A |