IDEA creates a complete tutorial for Servlet (Web) projects - 2023, and configures the port number of tomcat and the browser opened by default

1. Introduction to the article

Today, a fan asked me a question, as shown in the picture below:

insert image description here

He is jsp + servletthe project, but after starting it, he can't access it anyway, so he asked me how to solve the problem.

After I solved a series of problems, I couldn't start his project, so I created a simple servletproject myself.

With a simple servletproject, his problem was solved.

The following is ideahow I created servletthe project and started it successfully.

2. Create a servlet project

  1. File -> New -> Project

insert image description here

  1. select Java, clickNext

Guess you like

Origin blog.csdn.net/lvoelife/article/details/131287091
Recommended