Java

A collection of 1 post

How to create a Servlet

In a Web Application a Servlet can be defined in three ways: using the WebServlet annotationwriting the configuration in the deployment descriptorprogrammatically using ServerContext and ServletRegistration.Dynamic APIsUsing the WebServlet annotationThe WebServlet annotation