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 |
Can filter be used as request or response?
What are the types of servlet?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
can i call init() method in destroy() method of servlset. ?
How to deal with multi-valued parameters in a servlet?
What is difference between cookies and httpsession?
Which are the different ways you can communicate between servlets?
how can you give alias to servlets?
Define declaration.
How do you pass the data from one servlet to another servlet?
what are the way a client can be tracked?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?