4、明的是,在tomcat中,这些内容是记录在哪里的。既(程序怎么让tomcat知道,需要加载哪些类) 答案是----- 其通过一个配置文件来指定的:(catalina.properties),这个文件默认存放在 tomcat路径下的bin/bootstrap.jar中。 如图 打开文件,其内容如下: Java代码 1.# Licensed to the Apache Software Foundation (ASF) under one or more 2.# contributor license agreements. See th
5、e NOTICE file distributed with 3.# this work for additional information regarding copyright ownership. 4.# The ASF licenses this file to You under the Apache License, Version 2.0 5.# (the "License"); you may not use this file except in compliance with 6.# the License. You may obtain a c
6、opy of the License at 7.# 8.# http://www.apache.org/licenses/LICENSE-2.0 1.# 2.# Unless required by applicable law or agreed to in writing, software 3.# distributed under the License is distributed on an "AS IS" BASIS, 4.# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expres
7、s or implied. 5.# See the License for the specific language governing permissions and 6.# limitations under the License. 7. 8.# 9.# List of comma-separated packages that start with or equal this string 10.# will cause a security exception to