different WAR files, shared resources

后端 未结 6 1581
醉话见心
醉话见心 2021-01-02 13:36

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

6条回答
  •  Happy的楠姐
    2021-01-02 14:19

    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.

提交回复
热议问题