I have learned Java before ... but just the language category, but I didn't really handle the Java runtime environment (because I used JBuilder at the time, it's virtual machine running). Relive Java in these days, and solved it will not be configured Tomcat's problem, very fast in my heart.
Configure Tomcat 5:
working environment:
Win XP
Prerequisites:
Install JDK (I installed the JDK 1.4.2_03 version, the installation directory is c: /j2sdk1.4.2_03) Install Tomcat 5 (I am decompressed package installation method, extract Tomcat 5 content to: f: / tomcat5 position, because decompressed Package installation method, so some manual configurations should be brought
method:
Add system environment variables. The environment variables that need to be set are:
Classpath:.; c: /j2sdk1.4.2_03/lib/tools.jar path: (same as the system variable); c: /j2sdk1.4.2_03/bin java_home: c: /j2sdk1.4.2_03 Tomcat_home: f : / Tomcat5 launched Tomcat. Tomcat installation directory: f: / tomcat5 / bin has a startup.bat used to start Tomcat Runtime service; shutdown.bat is the end service. Try Trial Configuration Site. Open F: / Tomcat5 / Conf / Server .xml, found with content: =========================================== ======================================================= - Define a non-SSL Coyote HTTP / 1.1 Connector on port 8080 ->
It can be seen that the Connector is a web service connection that sets non-SSL HTTP 1.1 access. Properties port is configured access port, and other attributes are configured to configure some HTTP access parameters. Look at: ============= ============================================================================================================================================================================================================= ============================