Today, I will finish the school to do it, and I will get it. But a servlet method will not be able to solve it. It turned out that I put my app directory below WebApps / root, in order to run my bean, I removed web.xml, and add
Now I posted a summary:
1. To Tomcat's installation directory, you can see the directory of Tomcat's Tomcat's Tomcat, which. 2. Create a directory in the webapps directory, named myapp; 3. MYAPP new one Directory Web-INF, note, 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"?>
I moved my work directory to the webapps directory in accordance with this, I created Web.xml, and put server.xml
I wrote it before, I wrote it before. I have to find a problem yourself.
Have a question, is it caused by the novel version of Tomcat?