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 eclipse to deploy your application . We can use this maven plugin
org.apache.maven.plugins
maven-eclipse-plugin
2.10
2.0
newContextroot
now go to your project root folder and open cmd prompt at that location type this command :
mvn eclipse:eclipse -Dwtpversion=2.0
You may need to restart eclipse , or in server view delete server and create agian to see affect. I wonder this exercise make sense in real life but works.