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
What is MIME Type?
How servlets are deployed in java?
What is the servlet?
What are the functions of the servlet container?
What is the directory structure of a war file?
Differentiate between get and post?
How does tomcat servlet container work?
How do we go with database connection and log4j integration in servlet?
What is the procedure of invoking different servlet in a different application?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
What is load-on-startup in servlet?
Which event is fired at the time of project deployment and undeployment?
What is the difference between portlet and servlet?
What are the key methods that are involved in processing of http servlets?
Write a simple servlet program to print the contents of html.