Computer Science, asked by chaishaBipamriti, 1 year ago

Way a Servlet Can Access its Initialization Parameters
Which statements are correct about the way a servlet can access its initialization parameters? A. By simply calling getInitParameter from any of the servlets methods (for example doGet) B. It must be done by calling getServletConfig().getInitParaemter C. It can only be done by overriding the method init(ServletConfig config) D. It can be done by calling getServletContext().getInitParameter method.

Answers

Answered by kvnmurty
0
getServeletConfig().getInitParameter("parameter name")

getServeletContext().getInitParameter("parameter name")


Similar questions