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 annotations used in servlet 3?

0 Answers  


What are different types of SessionTracking?

2 Answers  


What is dispatcher servlet?

0 Answers  


how to use servlets with j2ee ?

2 Answers   Tech Mahindra,


What is the purpose of inter-servlet communication?

0 Answers  


What are the differences between forward() method and sendredirect() methods?

0 Answers  


How many servlet objects are created?

0 Answers  


What is URL Encoding?

0 Answers  


What are the features added in Servlet 2.5?

0 Answers  


Is servlet a controller?

0 Answers  


In howmany ways applet-servlet communication can be done?

1 Answers  


What is the importance of init() method in Servlet ?

0 Answers   BirlaSoft,


Categories