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


Please Help Members By Posting Answers For Below Questions

Why doesn’t a servlet include main()? How does it work?

633


What is servlet lazy loading?

695


What are the type of protocols used in httpservlet?

612


What is the functionality of actionservlet and requestprocessor?

600


What are the difference between RMI and Servlets?

1051






Which is the methods of generated servlet?

682


How can I send user authentication information while making URL Connection?

547


Explain jsessionid and when is it created?

597


Explain get and post.

649


Can you explain in detail 'javax.servlet' package?

549


Can we override destroy method in servlet?

504


What is SingleThreadModel interface?

674


Explain the lifecycle of a servlet?

506


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

615


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

1744