Given that a servlet has been mapped to /account/. Identity the HttpServletRequest methods that will return the /account segment for the URI: /myapp/account/.
a. getContextPath
b. getServletPath
c. getPathInfo
Answer: B
Java | Advance Java | Multiple Choice | Questions and Answers | Test Bank
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.