I'm using Elastic Beanstalk with Tomcat7 to host a Spring MVC application and need to have the container respect a context path rather than deploying as the ROOT project.
What is the accepted way to accomplish this using Beanstalk? We use the maven plugin below to automate the deploy process:
You can set it in the path attribute of the Context element in your context.xml.
See: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html