Tim Holloway wrote:If you are using Tomcat's default deployment mechanism, you would copy your WAR to TOMCAT_HOME/webapps/. You do not actually have to explode WAR files. Tomcat will do that as part of the deployment.
If you have a WAR file mywebapp.war, exploded to TOMCAT_HOME/webapps/mywebapp, then the URL for its /index.jsp page would be: http://localhost:8082/mywebapp/index.jsp.
If you do this and still get a "404" check the Tomcat logs to make sure that there was no error in deploying the webapp.
Himai Minh wrote:I believe in IntelliJ, you can change the context path to anything you want.
Here is a reference:
You can see from section 3.2 of this reference . You can set localhost:8080/ for starting up the app.