Can a servlet be called by passing its name as a parameter
in the URL?
No, it cannot be done.We use deployment descriptors as
writtne in web.xml file which is used to identify a servlet.
servlet name, servlet class and url-pattern are specified
in the web.xml file which will find the url-pattern and
identify the servlet associated with in
| Is This Answer Correct ? | 8 Yes | 2 No |
What do you mean by httpservlet and how it is different from the genericservlet?
What are some advantages of storing session state in cookies?
What are the difference between HttpServlet and GenericServlets?
What are life cycle methods of a servlet?
What is lazy loading and what is Generic Servlet Class?
What are the life cycle methods of the servlet?
Tell us something about servletcontext interface.
Why do we have servlet filters?
What is webservlet?
Which exception is thrown if the servlet is not initialized properly?
What are the different session tracking techniques?
Why is http protocol called as a stateless protocol?