Hi Shashank
javax.servlet.GenericServlet does not have any function with signature getParameter(String). Although it has one function with signature getInitParameter(java.lang.String name). This function is used to get the init parameter of
servlet config. Servlet config parameters are defined in deployment descriptor.
When a browser sends the request to a servler the container creates two Object implementing javax.servlet.http.HttpServletRequest and javax.servlet.http.HttpServetRespose , creates a new
thread and calles the service method of servlet passing these parameters.
These same are also passed in doGet(HttpServletRequest request ,HttpServletResponse response) method.