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 you push data from an Applet to a Servlet?
What is the difference between context parameter and context attribute?
Name the different ways of session tracking.
What are the types of an http request?
Which event is fired at the time of setting, getting or removing attribute from application scope?
How is a servlet implemented in code?
Which protocol will be used by browser and servlet to communicate
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
What is string tokenizer?
How do you find out what client machine is making a request to your servlet
What is the main purpose of java servlets?
What is the purpose of inter-servlet communication?
How do cookies work in servlets?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
How do you create a cookie using servlet?