Can a servlet be called by passing its name as a parameter
in the URL?



Can a servlet be called by passing its name as a parameter in the URL?..

Answer / 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

More Servlets Interview Questions

What are the functions of Servlet container?

0 Answers  


What are Servlets?

0 Answers  


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

0 Answers   IBM,


How to get the path of servlet in the server?

0 Answers  


What is cookie? Why is cookie used?

0 Answers  






How values can be passed from HTML page to servlet?

7 Answers   ABC,


Explain the difference between a web server and a web container?

0 Answers  


Why is http protocol called as a stateless protocol?

0 Answers  


we cant Override Jsp Service method?Why?

4 Answers   Infrasoft, Mind Tree,


Which exception is thrown if the servlet is not initialized properly?

0 Answers  


How to get the IP address of client in servlet?

0 Answers  


What is servlet and list its types?

0 Answers  


Categories