Can a servlet be called by passing its name as a parameter
in the URL?
Answer Posted / tulasivani
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 |
Post New Answer View All Answers
How we can get ip address of client in servlet?
What is servlet mapping?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is the life-cycle of servlets?
What are the new features added to servlet 2.5?
What if we pass negative value in load-on-startup?
What are the servlet events?
What are the phases of a servlet life cycle?
When jsessionid is created?
What are the different ways we can maintain state between requests?
What do you mean by httpservlet and how it is different from the genericservlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
Differentiate between the web server and application server?
What is the use of httpservletresponsewrapper?
What is the default http method in the servlet?