I developed a dynamic web project in Eclipse. I can access the app through my browser using the following URL:
http://localhost:8080/MyDynamicWebApp
If using maven java ee 7/8 enterprise application, need to edit the pom.xml of the EAR project
... org.apache.maven.plugins maven-ear-plugin 2.8 6 lib com.sample ProjectName-web /myproject ...