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
How can we upload the file to the server using servlet?
Explain servlet events?
How does java thread pool work?
What is difference between PrintWriter and ServletOutputStream?
What do you mean by chaining in servlet?
What is the life cycle of a servlet?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Explain servlet.
How can you create a session in servlet?
What is servlet interface?
why we should override only no-agrs init() method.
What are the functions of the servlet container?
Which event is fired at the time of session creation and destroy?
Write a hello world program using servlets.
What is servlet configuration?