What are the annotations used in servlet 3?



What are the annotations used in servlet 3?..

Answer / Sandeep Kumar Gautam

Servlet 3 introduced several new annotations, including @WebServlet for configuring Servlets in the deployment descriptor without using the web.xml file; @WebFilter for creating filters; and @MultipartConfig for handling multipart requests with large files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

1 Answers   Bosch, EF,


What's the use of servletcontext?

1 Answers  


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1 Answers  


What are the benefits of using servlet over cgi?

1 Answers  


how to make the IP address to .com

1 Answers   iGate,


What are the type of protocols used in httpservlet?

1 Answers  


Can you use javascript in servlets?

1 Answers  


What's the difference between authentication and authorization?

1 Answers  


Write a hello world program using servlets.

1 Answers  


How can we invoke another servlet in a different application?

1 Answers  


Is tomcat a servlet container?

1 Answers  


Describe the phases of servlet lifecycle?

1 Answers  


Categories