No, a main method would have no effect, It uses for stand-alone applications. For initialization of servlet instances the init method is used.
The container initializes the servlet instance by calling the init method of the Servlet interface with a
unique object when implement the ServletConfig interface.
For read more information on Servlet visit to :http://www.roseindia.net/servlets/