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
Why do we have servlet filters?
Explain the difference between servletconfig and servletcontext in servlet?
Explain the difference between servlet and cgi?
Why is httpservlet declared abstract?
Why jsp is better than servlet?
Elucidate servlet attributes and its scope?
How would you create deadlock on your servlet?
Why do we use sendredirect() method?
Explain in brief the directory structure of a web application?
What is servlet interface?
What are session variable in servlets?
What is the difference in between the httpservlet and generic servlet?
How to get the actual path of servlet in server?
What is the purpose of requestdispatcher interface?
Write all the phases defined in servlet life cycle?