why Idea access tomcat server when project start

Answered

I start a new Java Enterprise project, on Additional Librariers and frameworks I select Web Applications, Tomcat server is 9.0.13 .

I edit Run/Debug Configurations, enable Tomcat Localhost Log.

When I click RUN button, In Tomcat Localhost access log. It show 3 log. The third is accessed from chromium. But I dont know the first and the second from.

Then I add the code to print the request header, it show that the first and the second access is from IDEA.

Why IDEA access it. Can I disable it.

0
1 comment

>Why IDEA access it. Can I disable it.

Did you enable option to Open Browser After Launch in Run/Debug Configuration? If enabled IDE sends the requests to the application on startup.
1

Please sign in to leave a comment.