I'm thinking something in lines of drupal multisite, where every site should have it's folder with themes, plugins and various static files. It turns out it's not quite easy to do with Java: classes must be in one place, tag files in other, static files in third, only jsp files can go wherever. classes and tags can be packed in jars, but how can I serve static files and jsps from jar? What is the best way to do such a thing?
Previous slightly related question: http://stackoverflow.com/questions/1499521/jsp-tags-outside-web-inf-tags