Explain is servlet mapping?



Explain is servlet mapping?..

Answer / Gajender Kumar

Servlet Mapping is the association of a web application's URL with a specific servlet. It defines how incoming requests will be handled by servlets in the web application. This is usually done through the web.xml deployment descriptor file, where you can specify the servlet name, mapping pattern (URL path or extension), and the servlet class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

In howmany ways applet-servlet communication can be done?

1 Answers  


What is a Session Id?

1 Answers  


What is done after deploying a war file and before client gives a request

2 Answers   Bosch,


when you comppile the servlet is it neccesary to restaet the tomcat server?

6 Answers   HCL,


What is meant by servlet? What are the parameters of the service method?

1 Answers  


What is the difference between encodeRedirectUrl and encodeURL?

1 Answers  


What is the servletconfig object?

1 Answers  


What are the steps that are required to handle the multi-threading?

1 Answers  


why are using HttpServlet in realtime projects and why are not using Genericservlet

2 Answers  


Is it possible to send a mail from a servlet? Explain?

4 Answers  


What is the use of servlet context?

1 Answers  


what is the difference between doGet() and doPost()?

6 Answers   TCS,


Categories