Home> Java> javaTutorial> body text

Java Web dynamic website development tutorial

P粉469731340
Release: 2022-09-05 14:08:41
Original
2379 people have browsed it

1. Tomcat installation

  1. Download URL: http://archive.apache.org/dist/tomcat/

Tomcat version: 64-bit 8.5.31

Java Web dynamic website development tutorial

Java Web dynamic website development tutorial

Java Web dynamic website development tutorial

## Tomcat environment variable configuration

  • In the advanced environment configuration of the computer, find the environment variable

Java Web dynamic website development tutorial

  • Click New in System Variables, enter the variable name and value, and click OK, as shown below:

Java Web dynamic website development tutorialJava Web dynamic website development tutorial

    ## Variable name: CATALINA_HOME
  • Variable value: the root directory of tomcat, which is the upper directory of bin
  • in path Click Edit----New, enter the bin directory path, as shown below:

Java Web dynamic website development tutorialJava Web dynamic website development tutorial

    Verification is successful :
  • ## (1) Win R key combination, enter startup.bat, start the service
(2) In the browser, enter localhost:8080 or 127.0.0.1:8080, If the interface shown in the figure below appears, it means that the tomcat environment variables are configured successfully.

2. JSP project creation steps

Installation conditions: idea software, tomcat8.5.31, jdk1.8
  • 1. Open idea, create a new ordinary java project in file ->new ->project, or select New Project, as shown in the figure below:

Java Web dynamic website development tutorial

1Java Web dynamic website development tutorial

1Java Web dynamic website development tutorial1Java Web dynamic website development tutorial2. Right-click on the project name and in the Add Framework Support option, check Web Application and click OK.1Java Web dynamic website development tutorial

The picture after completion is as follows:

1Java Web dynamic website development tutorialEach version is different, and it will be different when creating the project.

The above is the detailed content of Java Web dynamic website development tutorial. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!