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 |
What is getservletcontext?
What is a servlet context?
How the servlet is loaded?
explain the advantages of servlet life cycle?
Can we use javascript in Servlets?
What is difference between Forward() and sendRedirect() methode?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
Can we override destroy method in servlet?
Explain the custom jsp tags and the beans.
how can we execute servelt? what the use ".war" or ".jar" file creation
How to upload a file to the server using servlet?
How will you pass values from HTML page to the servlet?