Two new options which affect publishing are now available in the Server Options section of the Tomcat server editor. The Tomcat server must be 5.0.x or later for these options to be enabled. TheServe modules without publishingoption does what it says. Web content will be served directly from the "WebContent" folder of the Dynamic Web Project. A customized context is used to make the project's dependencies available in the Web application's classloader. ThePublish module contexts to separate XML filesoption will publish contexts using the preferred method of separate XML files under the "conf/Catalina/localhost" directory, rather than keeping them in the "server.xml" file. A couple of improvements for this option are noted in Bugs 180931 and 180936.

在Tomcat服务器编辑器的Server选项部分,现提供两个新的发布选项。适用于5.0.x及以上版本的Tomcat服务器。这些新选项允许直接从DynamicWeb项目的WebContent文件夹提供Web内容,并通过conf/Catalina/localhost目录下的单独XML文件发布上下文,而非保留在server.xml文件中。
1870

被折叠的 条评论
为什么被折叠?



