我通过使用复制粘贴到 Designer Java 视图中的 xpage 应用程序添加了一个 javascript 库。但是这似乎不起作用,因为浏览器中的源错误:
<script type="text/javascript" src="/development/charts/HighChartsTest.nsf/xsp/.ibmmodres/.js/js%2Fjquery190min.js&js%2Fjs%2Fhighcharts.js"></script>
代替
<script type="text/javascript" src="/development/charts/HighChartsTest.nsf/js/jquery190min.js"></script>
<script type="text/javascript" src="/development/charts/HighChartsTest.nsf/js/js/highcharts.js"></script>
应用程序使用的主题包含以下几行:
<resource>
<content-type>application/x-javascript</content-type>
<href>/js/jquery190min.js</href>
</resource>
<resource>
<content-type>application/x-javascript</content-type>
<href>/js/js/highcharts.js</href>
</resource>
是什么导致了这个以及如何解决这个问题?