2

I want to get detailed understand in layman words, Why servlet has no main method.Who will take role of main method on servlet as we know servlet is also a java program that runs on server side and by default it called doGet() method.How can web application start without main method as we are just call it from a link.

Jaimin Patel
  • 4,559
  • 3
  • 32
  • 35

0 Answers0