Configuring a virtual directory of a Web site in Tomcat

xiaoxiao2021-03-06  109

Configuring a virtual directory of a Web site in Tomcat

Step 1: Open the files of the site you want to match in ../tomcat5.0/conf/catalina/tomcalhost, the following changes in the first line of XML:

Step 2: Copy the corresponding part of the corresponding config / frontalconfig.xml, serviceconfig.xml, appconfig.xml //lib/*.jar //classess/*.class //web.xml in the web-inf folder. New path.

Step 3: Save in the new IDE (such as Eclipse 3.0.1). (Home settings for the entire IP site in the apache httpd.conf DirectoryIndex after DirectoryIndex, add the corresponding page name, such as index.jsp)

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

New Post(0)