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 |
Which is the methods of generated servlet?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is the web server used for running the Servlets?
How can the session in servlet be destroyed?
Can we fetch the attributes related to a servlet on a different servlet?
What is the capacity the doget can send to the server?
What is servlet and how it works?
What is the use of servletconfig interface?
Why filter is used in servlet?
Why is http protocol called as a stateless protocol?
Differentiate between the web server and application server?
What are the uses of servlets?