How to change the Tomcat url to /
Answered
When I create a Java EE Web Application, The default url is http://localhost:8080/{ProjectName}_war_exploded/
How can I change it to http://localhost:8080/

Please sign in to leave a comment.
Hello,
Do you need to change default project template or artifact deployment location?
Hello, I want to change the web url, the default url is like this "http://localhost:8080/testTomcat_war_exploded/". it contains project name.I want to change it deafault ""http://localhost:8080/" which doesn't contain project name. And, how to change artifact deployment location?
You could change "Application context" on "Deployment" tabof run configuration from "/testTomcat_war_exploded" to "/", so artifact will be deployed to "http://localhost:8080/"
Thank you.
I tried the proposed approach. However, everytime i create a new project i have to go to Application context and change it again. So how let intellij do that automatically everytime i create a new project
"Application context" is per-artifact setting, so it should be configured for every artifact individually.
Vote and share your opinion in this YouTrack item, where a similar problem is discussed: https://youtrack.jetbrains.com/issue/IDEA-222248