Home > Java > javaTutorial > body text

Detailed explanation of Tomcat and activation of MyEclips examples (java)

Y2J
Release: 2017-04-26 11:59:35
Original
1708 people have browsed it

This article is a detailed analysis and introduction to Tomcat in Java and activating MyEclips. Friends who need it can refer to it

1. Configure the Tomcat virtual directory
Create the folder "javaweb" on the D drive, and then add the WEB-INF folder and its contents. Create an index.html page and write whatever you want.
Add under the Host node in the full webapps/conf/server.xml under the tomcat installation path:

After Type http://localhost:8080/javaweb/ in the browser to get it done. Oh yeah.
2. Configuration for installing Tomcat
The reality is that if you choose to install Windows Service, you do not need to add any environment variables, but the premise is that JDK is installed and configured at the same time Java environment variables:

The code is 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;
Copy after login

b. JAVA_HOME

C:\Program Files\Java\jdk1.7.0_21
Copy after login

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
Copy after login

3. Activate MyEclips
I originally thought I needed a registration machine, but after searching on Baidu, someone provided it. I can use it directly and it works.
eclipse
rLR8ZC-855550-6954585325769481

The above is the detailed content of Detailed explanation of Tomcat and activation of MyEclips examples (java). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template