Establish your own JSP app catalog
1. To the WebApps directory of the Tomcat installation directory, you can see the directory of Tomcat, such as Root, Examples; 2. Create a directory in the webapps directory, namely myapp; 3. MYApp, create a directory Web-INF, Note that the directory name is case sensitive; 4.Web-infault new file web.xml, the content is as follows: XML Version = "1.0" eNCoding = "ISO-8859-1"?>
5. Create a new test JSP page under MyApp, the file name is index.jsp, the file content is as follows:
6. Restart Tomcat 7. Open the browser, enter http: // localhost: 8080 / myApp / index.jsp.