[摘要]Tomcat 4中的ClassLoadersonymusic.(译的比较差啦,大家随便看看吧。为了让英文好的同志直接查看,有不少是中英文都在一起的。如果有错,请指出来。谢谢!)For classes...
Tomcat 4中的ClassLoader
sonymusic.
(译的比较差啦,大家随便看看吧。为了让英文好的同志直接查看,有不少是中英文都在一起的。如果有错,请指出来。谢谢!)
For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-INF/classe of your web application archive, or place JAR files containing those classes and resources under /WEB-INF/lib of your web application archive.
如果只准备给某一个应用使用,就放到该应用的/web-inf/classes目录下,如果是jar,zip文件 的话,就放到/web-inf/lib目录下。
For classes and resources that must be shared across all web applications, place unpacked classes and resources under $CATALINA_HOME/classes, or place JAR files containing those classes and resources under $CATALINA_HOME/lib.
如果是准备给所有的web应用使用的话,就解到$Catalina_home/classes目录下,如果是jar,zip文件的话,就直接放到$Catalina_home/lib目录下。
ClassLoader的顺序:
如图:
Bootstrap
关键词:Tomcat 4中的ClassLoader