1.WHILE DEPLOYING SERVLETS WE WILL GIVE CONTEXT ROOT. What actually is the context root. for eg : i have given context root as webapp/testexample whats the meaning of this. Does it create a folder as webapp 2.WHAT IS THE USE OF EAR/WAR FILES INSTEAD OF JAR FILES
Hello Krishna, The context in servlets is used as an appender in URL. If you give your context - root as webapp/examples and your servlet name is say Login_Servlet, then in the URL you invoke the servlet as http://locanhost/webapp/example/Login_Servlet. It does not creae a directory in webapp.