Moved a previously written blog "2014-12-10 21:43"
Having done a Java program these days and then picked him up on the web, I learned about the Tomcat server-based Web development, which is a review of the Tomcat server build process.
1. First go to the Tomcat official website to download the Tomcat installer, I downloaded the 6.x version, because I applied to the free server above only support JRE6, so downloaded the support jre6 version of the Tomcat, supposedly 7.x,8.x should be supported. 2. Second check the configuration of the Java environment variables inside the computer, at least ensure the installation of jdk1.6 and in the "My Computer" → "Properties" → "Advanced system settings" → "Environment variables" set the Java_home and Classpath (no new). Here Java_home (note case): Installation directory \jdk1.6.x.xclasspath set to:%java_home%/lib/rt.jar;%java_home%/lib/tools.jar
3. Then run the downloaded Apache-tomcat-6.x.exe Here take Apache-tomcat-6.0.18.exe as an example after running the next, to modify the installation directory, generally modified to the D drive, until the following diagram, note that the port to be set to 80, so that after entering the domain name to access the server without the port number, because the browser's default port is 80 port, Then remember the server administrator's account password and then use it. Next, select the directory where you installed the JDK jre6 such as: D:\Java\jre 6, after the next step, the installation is complete. This will make the Tomcat installation complete. Then run the installation directory D:\Apache software Foundation\tomcat 6.0\bin\tomcat6.exe to start the server
deployment, installation and application of Tomcat server, one of the javaweb development