Can a servlet be called by passing its name as a parameter
in the URL?
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 |
How to upload a file to the server using servlet?
What are the various ways of session supervision in servlets?
How do I use cookies to store session state on the client?
How multiple simultaneous requests can be handled by servlets?
What is servlet in web technology?
How can you run a servlet program?
Can we write a constructor for a Servlet class ? if yes how ? if no why not ?
What are advantages of servlets over cgi?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
How can you use a servlet to generate a plain text instead of html?
What is the use of httpservletresponsewrapper?
What is lazy loading and what is Generic Servlet Class?