Netbeans always deploys the .war of my application to /MyProject on Tomcat. This means that I view them on
That should be in your context.xml. The details of the configuration are here http://tomcat.apache.org/tomcat-7.0-doc/config/context.html. Moreover, the context.xml is accessible within the /META-INF/context.xml path. I don't think that NetBeans will do that for you. We have to specify that ourselves, just like in GlassFish where I had to do the same thing in a glassfish-web.xml file.