jawr - jsp中包含的文件包含不存在的数字文件夹

时间:2011-10-25 07:48:57

标签: javascript jawr

我正在使用jawr来组合和缩小javascript。但是当我加入<jawr:script src="content/js/bundles/home.js">

时,在jspo中

它生成.....

http://localhost:8080/APP_JIG_HEAD/ 999485638 /content/js/bundles/home.js

转到404。

tomcat中的任何位置都不存在该数字文件夹。

搜索时只找到2个home.js

C:\ Program Files \ Apache Software Foundation \ Tomcat 5.5 \ work \ Catalina \ localhost \ APP_JIG_HEAD \ jawrTmp \ gzip \ content \ js \ bundles \ home.js

C:\ Program Files \ Apache Software Foundation \ Tomcat 5.5 \ work \ Catalina \ localhost \ APP_JIG_HEAD \ jawrTmp \ text \ content \ js \ bundles \ home.js

my jawr.prop如下。

# Common properties
jawr.debug.on=false
jawr.gzip.on=false
jawr.gzip.ie6.on=false
jawr.charset.name=UTF-8

# Javascript properties and mappings
jawr.js.bundle.basedir=/js

# The remaining scripts will be served sepparately.
jawr.js.bundle.home.id=/content/js/bundles/home.js
jawr.js.bundle.home.mappings=/content/js/MyHomeNew.js, /content/js/MyHome.js

0 个答案:

没有答案