INDEX.JSP under Tomcat's root directory

xiaoxiao2021-03-05  23

Tomcat has also been used for more than a year, and has not been carefully studied. How come out when it is, it is bored today. At first, Tomcat's starting file was the index.jsp under the root directory, but when I clicked index.jsp, I found the default page or I came out, then I saw Classes and Lib under root / web-inf. In the package, discover these two are org.apache.jsp.index_jsp.class, then I have read it again, it turns out that it is hardly encoded in this file. Take a look at the web.xml file.

org.apache.jsp.index_jsp

org.apache.jsp.index_jsp

org.apache.jsp.index_jsp

/index.jsp

This way, because Tomcat default start file is index.jsp and index.htm, this is not to map the default start page to org.Apache.jsp.index_jsp, so I deleted this paragraph, you can directly To INDEX.JSP, haha.

转载请注明原文地址:https://www.9cbs.com/read-38337.html

New Post(0)