Oracle
1Z0-899 · Question #46
1Z0-899 Question #46: Real Exam Question with Answer & Explanation
The correct answer is B. AsyncContext.dispatch("/url");. AsyncContext Class, third paragraph)
Question
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?
Options
- AASyncContext.dispatch();
- BAsyncContext.dispatch("/url");
- CAsyncContext.dispatch(servletContext, "/url");
- DAsyncContext.start(runnable);
- ERequestDispatcher.fotward("/url");
- FRequestDispatcher.forward(servletContext, "/url");
- GRequestDispatcher.include("/url");
Explanation
AsyncContext Class, third paragraph)
Community Discussion
No community discussion yet for this question.