Infosys interview question

How do you implement Servlet and map it to URI?

Interview Answer

Anonymous

30 Apr 2020

name of the servlet URL of the servlet servlet-mapping has two child tags, url-pattern, and servlet-name. url-pattern specifies the type of urls for which, the servlet given in servlet-name should be called.