开发者

handling css with Jawr

my scenario:

  • large amount of JSP (about 3000)
  • not too much css files (about 100)

Today I have a lot of bundles that includes a couple of css files, as needed.

Then the jsp includes: or the bundles 开发者_运维技巧or the css files.

Is Jawr the best choice for me?

How do you handle you css files?


You can either bundle your web resources on the runtime (using a servlet/filter) or buildtime (maven plugin or ant). There are several tools which help you to do that. I will just list some of them:

  1. Jawr
  2. JSO
  3. wro4j

Jawr can be your best choice as long as it does exactly what you need.

Disclaimer: I'm a member of one of these project, however this answer is not biased.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜