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

Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

0 Answers  


What is a servlet context object?

0 Answers  


What is the requirement of servlet config and servlet context implemented and how are they implemented?

0 Answers  


Describe some assignments that are executed by servlet container?

0 Answers  


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

1 Answers   iFlex,






Which method of the httpservletrequest object is used?

0 Answers  


What are the functions of an intercepting filter?

0 Answers  


Describe the phases of servlet lifecycle?

0 Answers  


What is the difference between genericservlet and httpservlet

0 Answers  


What are the annotations used in servlet 3?

0 Answers  


Can filter be used as request or response?

0 Answers  


What do you mean by mime type?

0 Answers  


Categories