Tomcat’s .\webapps directory is where you deploy your web application.
Webapps are deployed as WAR files, which are just JAR files with a .war extension.
WAR files contain a .\WEB-INF directory, with a web.xml file to configure Tomcat.
Your Java classes and third-party JAR files go into WEB-INF\classes and WEB-INF\lib, respectively.
Two very important servlet classes are HttpServletRequest and HttpSession.
KeywordsJava Code User Session Java Classis Batch File Apache Software Foundation
Unable to display preview. Download preview PDF.