1. Configure Tomcat virtual directory
Create the folder "Javaweb" in the D disk, and then add the Web-inf folder and its contents. Create index.html pages and write whatever you want.
Add below the host node in the Webapps/conf/server.xml full of the Tomcat installation path:
<context path= "/javaweb" docbase= "D:\javaweb"/>
Then typing http://localhost:8080/javaweb/in the browser to finish. Oh, too.
2. Installation of Tomcat configuration
The reality is that if you choose to install Windows Service, you do not need to add any environment variables, but only if you have the JDK installed and the Java environment variables are configured:
Copy Code code as follows:
A. Classpath
.; C:\Program Files\java\jdk1.7.0_21\lib\tools.jar; C:\Program Files\java\jdk1.7.0_21\lib\dt.jar;
B. java_home
C:\Program files\java\jdk1.7.0_21
C. Path
%java_home%\bin;%java_home%\lib\dt.jar;%java_home%\jre\bin;%catalina_home%\lib;%catalina_home%\lib\ Servlet-api.jar;%catalina_home%\lib\jsp-api.jar
3. Activate Myeclips
Originally thought also need to register machine, Baidu a bit, someone provided to, take to use directly, usable.
Eclipse
rlr8zc-855550-6954585325769481