The order of the Class of Class when JSP is running

xiaoxiao2021-03-06  85

-> Project folder: Web-inf / lib (find one of the JAR files), web-inf / class files (find one of them) -> Container folders: Tomcat / Common / lib -> JDK folder: JDK / JRE / LIB / EXT

Find in the above order, at this time, ClassPath does not work! Note the directory structure: If you want to find class com.a.bb.cc under web-inf / class, you must have a cc.class file in Web-INF / CLASSES / AA / BB and the beginning of the cc.java file is package com.aa.bb

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

New Post(0)