Suppose you have several applications which share the same code and most of the other resources, but have a somewhat different look and feel, some labels change, etc. (thin
How about putting your css and js in the classpath and serve them with a servlet? Then you can build the common resources as a jar and that jar can even contain the servlet (resource dispatcher if you like) and the war files can contain the jar file in the WEB-INF/lib folder.