You should be able to create a "myapp.war" or "something.ear" DIRECTORY and put your files in there. I do this all the time with JBoss and jetty. I don't use
tomcat, so I can't verify the prior posters comment that you have to configure other things to make it work in that case. But, based on my understanding of how things work, it should work regardless of what web container you have plugged in...