Skip to main content

Posts

Showing posts with the label jsp test answers

Upwork/oDesk JSP 2.0 Test Answers

1. If cookies are turned off on the client, which two methods still work with the session ID?   Answers:  • encodeRedirectURL() or • sessionRedirectURL() or • encodeURL()  2. Which two of the following statements are best associated with the HTTPPOST method?   Answers:  • There is no limit on how much data this HTTP method can send or • This method is most often used to submit form data  3. Which two statements among the following apply to redirecting a HTTP request to another URL?   Answers:  • The path must be relative or • The redirect method must be called before the response body is committed, otherwise an IllegalStateException is thrown  4. Which of the following statements are true regarding the HTTP GET method?   Answers:  • There is a limit on how much data this HTTP method can send or • This HTTP method is the fastest  5. Which of the following statements are true regarding declaring a servlet instance in a deploymen...