READ Free Dumps For Oracle- 1z0-899
Question ID 4645 | Which statement is true about web container session management? |
Option A | A. Access to session-scoped attributes is guaranteed to be thread-safe by the web container. |
Option B | B. To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method. |
Option C | C. If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client. |
Option D | D. The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session. |
Correct Answer | C |
Question ID 4646 | A method call inside your servlet has thrown an IOException resulting from a lost network connection to a necessary resource. The servlet has determined that it will be unable to operate successfully fen few minutes, but expects to be able to resume operation after that period. How should this situation handled? |
Option A | A. The servlet should re-throw the exception to the web container. |
Option B | B. The servlet should throw a servletException to the web container. |
Option C | C. The servlet should throw an unavailableException to the web container. |
Option D | D. The servlet should redirect to an error page that reports the exception message. |
Option E | E. The servlet should retry the request until the method returns successfully. |
Correct Answer | C |